[arch-commits] Commit in colord/repos (6 files)

Jan Steffens heftig at archlinux.org
Wed Mar 29 20:47:41 UTC 2017


    Date: Wednesday, March 29, 2017 @ 20:47:40
  Author: heftig
Revision: 291835

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 291834, colord/trunk/PKGBUILD)
  colord/repos/gnome-unstable-i686/colord.install
    (from rev 291834, colord/trunk/colord.install)
  colord/repos/gnome-unstable-x86_64/
  colord/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 291834, colord/trunk/PKGBUILD)
  colord/repos/gnome-unstable-x86_64/colord.install
    (from rev 291834, colord/trunk/colord.install)

--------------------------------------+
 gnome-unstable-i686/PKGBUILD         |   60 +++++++++++++++++++++++++++++++++
 gnome-unstable-i686/colord.install   |    8 ++++
 gnome-unstable-x86_64/PKGBUILD       |   60 +++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/colord.install |    8 ++++
 4 files changed, 136 insertions(+)

Copied: colord/repos/gnome-unstable-i686/PKGBUILD (from rev 291834, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-03-29 20:47:40 UTC (rev 291835)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.5
+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 sane bash-completion argyllcms gnome-common git
+             docbook-utils docbook-sgml perl-sgmls)
+optdepends=('sane: scanner support'
+            'argyllcms: color profiling')
+replaces=(shared-color-profiles)
+install=colord.install
+_commit=54723dc6e3373a63a43cf814ad7424932bd996f0  # tags/1.3.5^0
+source=("git+https://github.com/hughsie/colord#commit=$_commit")
+sha1sums=('SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --with-daemon-user=colord \
+    --enable-print-profiles \
+    --enable-libcolordcompat \
+    --enable-vala \
+    --enable-sane \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  PATH="$srcdir/path:$PATH" make
+}
+
+package() {
+  cd $pkgname
+  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 291834, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-i686/colord.install	                        (rev 0)
+++ gnome-unstable-i686/colord.install	2017-03-29 20:47:40 UTC (rev 291835)
@@ -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 291834, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-03-29 20:47:40 UTC (rev 291835)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.5
+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 sane bash-completion argyllcms gnome-common git
+             docbook-utils docbook-sgml perl-sgmls)
+optdepends=('sane: scanner support'
+            'argyllcms: color profiling')
+replaces=(shared-color-profiles)
+install=colord.install
+_commit=54723dc6e3373a63a43cf814ad7424932bd996f0  # tags/1.3.5^0
+source=("git+https://github.com/hughsie/colord#commit=$_commit")
+sha1sums=('SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --with-daemon-user=colord \
+    --enable-print-profiles \
+    --enable-libcolordcompat \
+    --enable-vala \
+    --enable-sane \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  PATH="$srcdir/path:$PATH" make
+}
+
+package() {
+  cd $pkgname
+  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 291834, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-x86_64/colord.install	                        (rev 0)
+++ gnome-unstable-x86_64/colord.install	2017-03-29 20:47:40 UTC (rev 291835)
@@ -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