aboutsummaryrefslogtreecommitdiff
path: root/colord/Pkgfile
blob: bff15015973cbd0ffc5052a45d5dd5e1f397ecaa (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
# 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: lcms2 libgudev libgusb polkit sane argyllcms

name=colord
version=1.4.7
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=true \
    -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
}