[arch-commits] Commit in colord/repos (6 files)
Jan de Groot
jgc at archlinux.org
Tue Sep 20 12:23:19 UTC 2016
Date: Tuesday, September 20, 2016 @ 12:23:18
Author: jgc
Revision: 276756
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
colord/repos/gnome-unstable-i686/
colord/repos/gnome-unstable-i686/PKGBUILD
(from rev 276755, colord/trunk/PKGBUILD)
colord/repos/gnome-unstable-i686/colord.install
(from rev 276755, colord/trunk/colord.install)
colord/repos/gnome-unstable-x86_64/
colord/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 276755, colord/trunk/PKGBUILD)
colord/repos/gnome-unstable-x86_64/colord.install
(from rev 276755, colord/trunk/colord.install)
--------------------------------------+
gnome-unstable-i686/PKGBUILD | 46 +++++++++++++++++++++++++++++++++
gnome-unstable-i686/colord.install | 8 +++++
gnome-unstable-x86_64/PKGBUILD | 46 +++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/colord.install | 8 +++++
4 files changed, 108 insertions(+)
Copied: colord/repos/gnome-unstable-i686/PKGBUILD (from rev 276755, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2016-09-20 12:23:18 UTC (rev 276756)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.3
+pkgrel=1
+pkgdesc="System daemon for managing color devices"
+arch=(i686 x86_64)
+url="https://www.freedesktop.org/software/colord"
+license=(GPL2)
+depends=(lcms2 libgusb polkit sqlite systemd dconf dbus libgudev)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion
+ argyllcms)
+optdepends=('sane: scanner support'
+ 'argyllcms: color profiling')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('401f4b5c2f38895b14be4cfa36590ed3ce40cce4'
+ 'SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+prepare() {
+ cd $pkgname-$pkgver
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --enable-vala --enable-sane --with-daemon-user=colord
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # the build system has no colord user, so the chown fails
+ chown -R 124:124 "$pkgdir/var/lib/colord"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: colord/repos/gnome-unstable-i686/colord.install (from rev 276755, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-i686/colord.install (rev 0)
+++ gnome-unstable-i686/colord.install 2016-09-20 12:23:18 UTC (rev 276756)
@@ -0,0 +1,8 @@
+post_install() {
+ getent group colord >/dev/null || groupadd -g 124 colord
+ getent passwd colord >/dev/null || useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+}
+
+post_upgrade() {
+ post_install
+}
Copied: colord/repos/gnome-unstable-x86_64/PKGBUILD (from rev 276755, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2016-09-20 12:23:18 UTC (rev 276756)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.3
+pkgrel=1
+pkgdesc="System daemon for managing color devices"
+arch=(i686 x86_64)
+url="https://www.freedesktop.org/software/colord"
+license=(GPL2)
+depends=(lcms2 libgusb polkit sqlite systemd dconf dbus libgudev)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion
+ argyllcms)
+optdepends=('sane: scanner support'
+ 'argyllcms: color profiling')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('401f4b5c2f38895b14be4cfa36590ed3ce40cce4'
+ 'SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+prepare() {
+ cd $pkgname-$pkgver
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --enable-vala --enable-sane --with-daemon-user=colord
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # the build system has no colord user, so the chown fails
+ chown -R 124:124 "$pkgdir/var/lib/colord"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: colord/repos/gnome-unstable-x86_64/colord.install (from rev 276755, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-x86_64/colord.install (rev 0)
+++ gnome-unstable-x86_64/colord.install 2016-09-20 12:23:18 UTC (rev 276756)
@@ -0,0 +1,8 @@
+post_install() {
+ getent group colord >/dev/null || groupadd -g 124 colord
+ getent passwd colord >/dev/null || useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list