blob: 9c07b89c40b1ff426e6cdb5357bcd9cd368c5fb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Description: System daemon for managing color devices
# URL: https://www.freedesktop.org/software/colord
# Packager: Tim Biermann, tbier at posteo dot de
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: lcms2 libgudev libgusb polkit argyllcms
# Optional: sane gtk-doc vala
name=colord
version=1.4.8
release=1
source=(https://github.com/hughsie/colord/archive/$version/$name-$version.tar.gz)
build() {
prt-get isinst argyllcms && PKGMK_COLORD+='-D argyllcms_sensor=true ' || PKGMK_COLORD+=' -D argyllcms_sensor=false '
prt-get isinst vala && PKGMK_COLORD+='-D vapi=true ' || PKGMK_COLORD+=' -D vapi=false '
prt-get isinst sane && PKGMK_COLORD+='-D sane=true ' || PKGMK_COLORD+=' -D sane=false '
prt-get isinst gtk-doc && PKGMK_COLORD+='-D man=true ' || PKGMK_COLORD+=' -D man=false '
cd $name-$version
meson setup . build $PKGMK_COLORD \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
-D udev_rules=true \
-D systemd=false \
-D bash_completion=false \
-D libcolordcompat=true \
-D print_profiles=true \
-D daemon_user=colord \
-D docs=false \
-D man=false \
-D tests=false
ninja -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/locale
}
|