mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-01-22 14:52:19 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
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)
|
|
# 0001-trivial-Fix-error-checking-for-sd_pid_get_session-an.patch
|
|
|
|
build() {
|
|
cd $name-$version
|
|
# patch -Np1 -i $SRC/0001-trivial-Fix-error-checking-for-sd_pid_get_session-an.patch
|
|
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
|
|
}
|