wok-next view colord/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 2809ecb8c754
children 4c1ed6983d05
line source
1 # SliTaz package receipt v2.
3 PACKAGE="colord"
4 VERSION="1.2.12"
5 CATEGORY="utilities"
6 SHORT_DESC="System activated daemon that maps devices to color profiles"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/software/colord/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/colord.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.freedesktop.org/software/colord/releases/$TARBALL"
15 BUILD_DEPENDS="glib-dev gobject-introspection-dev gtk-doc intltool libxslt \
16 libgusb-dev lcms2-dev sqlite3-dev libgudev-dev polkit-dev dbus-dev vala"
17 SPLIT="colord-dev"
19 compile_rules() {
20 if ! grep -q colord "/etc/passwd"; then
21 addgroup -g 71 colord
22 adduser -g "Color Daemon Owner" -h /var/lib/colord -u 71 \
23 -G colord -s /bin/false -D colord
24 fi
26 fix ld
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --with-daemon-user=colord \
31 --enable-vala \
32 --enable-systemd-login=no \
33 --disable-argyllcms-sensor \
34 --disable-bash-completion \
35 --disable-static \
36 --with-systemdsystemunitdir=no \
37 $CONFIGURE_ARGS &&
38 fix libtool &&
39 make && make install
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 colord)
45 copy @std
46 DEPENDS="eudev glib lcms2 libgudev libgusb libsqlite3 polkit"
47 ;;
48 colord-dev)
49 copy @dev
50 DEPENDS="colord eudev-dev glib-dev lcms2-dev libgusb-dev"
51 ;;
52 esac
53 }
55 post_install_colord() {
56 chroot "$1/" /usr/sbin/addgroup -g 71 colord &&
57 chroot "$1/" /usr/sbin/adduser -g "Color Daemon Owner" -h /var/lib/colord \
58 -u 71 -G colord -s /bin/false -D colord
59 }