[arch-commits] Commit in colord/repos (6 files)
Jan Steffens
heftig at archlinux.org
Sun Aug 13 23:38:19 UTC 2017
Date: Sunday, August 13, 2017 @ 23:38:19
Author: heftig
Revision: 302015
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
colord/repos/testing-i686/
colord/repos/testing-i686/PKGBUILD
(from rev 302014, colord/trunk/PKGBUILD)
colord/repos/testing-i686/colord.install
(from rev 302014, colord/trunk/colord.install)
colord/repos/testing-x86_64/
colord/repos/testing-x86_64/PKGBUILD
(from rev 302014, colord/trunk/PKGBUILD)
colord/repos/testing-x86_64/colord.install
(from rev 302014, colord/trunk/colord.install)
-------------------------------+
testing-i686/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++
testing-i686/colord.install | 8 +++++
testing-x86_64/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++
testing-x86_64/colord.install | 8 +++++
4 files changed, 134 insertions(+)
Copied: colord/repos/testing-i686/PKGBUILD (from rev 302014, colord/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-08-13 23:38:19 UTC (rev 302015)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.4.0+11+g98cf67b
+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 shared-mime-info)
+makedepends=(gobject-introspection vala sane bash-completion argyllcms git docbook-utils
+ docbook-sgml perl-sgmls meson gtk-doc)
+optdepends=('sane: scanner support'
+ 'argyllcms: color profiling')
+replaces=(shared-color-profiles)
+install=colord.install
+_commit=98cf67bf3ffe2e6ccb629e3bcaf9a6b15dfd79ed # master
+source=("git+https://github.com/hughsie/colord#commit=$_commit")
+sha1sums=('SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname \
+ --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ -Denable-libcolordcompat=true \
+ -Denable-sane=true \
+ -Denable-vala=true \
+ -Denable-print-profiles=true \
+ -Dwith-daemon-user=colord
+ ninja
+}
+
+check() {
+ cd build
+ mesontest
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja 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/testing-i686/colord.install (from rev 302014, colord/trunk/colord.install)
===================================================================
--- testing-i686/colord.install (rev 0)
+++ testing-i686/colord.install 2017-08-13 23:38:19 UTC (rev 302015)
@@ -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/testing-x86_64/PKGBUILD (from rev 302014, colord/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-08-13 23:38:19 UTC (rev 302015)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.4.0+11+g98cf67b
+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 shared-mime-info)
+makedepends=(gobject-introspection vala sane bash-completion argyllcms git docbook-utils
+ docbook-sgml perl-sgmls meson gtk-doc)
+optdepends=('sane: scanner support'
+ 'argyllcms: color profiling')
+replaces=(shared-color-profiles)
+install=colord.install
+_commit=98cf67bf3ffe2e6ccb629e3bcaf9a6b15dfd79ed # master
+source=("git+https://github.com/hughsie/colord#commit=$_commit")
+sha1sums=('SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname \
+ --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ -Denable-libcolordcompat=true \
+ -Denable-sane=true \
+ -Denable-vala=true \
+ -Denable-print-profiles=true \
+ -Dwith-daemon-user=colord
+ ninja
+}
+
+check() {
+ cd build
+ mesontest
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja 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/testing-x86_64/colord.install (from rev 302014, colord/trunk/colord.install)
===================================================================
--- testing-x86_64/colord.install (rev 0)
+++ testing-x86_64/colord.install 2017-08-13 23:38:19 UTC (rev 302015)
@@ -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