xfce4/colord/Pkgfile
2023-07-08 04:58:25 -04:00

33 lines
874 B
Plaintext

# Description: System daemon for managing color devices
# URL: https://www.freedesktop.org/software/colord
# Packager: Tim Biermann, tbier at posteo dot de
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: dbus lcms2 libgudev libgusb polkit sane argyllcms
name=colord
version=1.4.6
release=1
source=(https://github.com/hughsie/colord/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$version
meson setup . build \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
-D argyllcms_sensor=false \
-D udev_rules=true \
-D systemd=false \
-D bash_completion=false \
-D libcolordcompat=true \
-D sane=true \
-D vapi=false \
-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
}