aboutsummaryrefslogtreecommitdiffstats
path: root/community/colord
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-06 13:01:26 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:48:01 +0000
commit620e76feef0a2f2eedc278a5bb02c716dc73adb6 (patch)
treea0dd55eb229537ff4660f664c881d0a58eb87428 /community/colord
parente789927826b09e9833b6d752a0199780845107f9 (diff)
downloadaports-620e76feef0a2f2eedc278a5bb02c716dc73adb6.tar.bz2
aports-620e76feef0a2f2eedc278a5bb02c716dc73adb6.tar.xz
community/colord: enable vala binding & sane support
* streamline APKBUILD
Diffstat (limited to 'community/colord')
-rw-r--r--community/colord/APKBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/community/colord/APKBUILD b/community/colord/APKBUILD
index c937cf214b..b47b5a10be 100644
--- a/community/colord/APKBUILD
+++ b/community/colord/APKBUILD
@@ -1,26 +1,26 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=colord
pkgver=1.4.4
-pkgrel=2
+pkgrel=3
pkgdesc="System daemon for managing color devices"
url="http://www.freedesktop.org/software/colord"
arch="all"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
pkgusers="colord"
pkggroups="colord"
depends_dev="dconf-dev dbus-dev gobject-introspection-dev sqlite-dev
- polkit-dev eudev-dev libgudev-dev"
-makedepends="$depends_dev meson ninja intltool bash-completion libgusb-dev lcms2-dev"
+ polkit-dev eudev-dev libgudev-dev vala sane-dev"
+makedepends="$depends_dev meson intltool bash-completion libgusb-dev lcms2-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://www.freedesktop.org/software/colord/releases/colord-$pkgver.tar.xz
disable-udev-hwdb-tests.patch"
install="colord.pre-install colord.pre-upgrade"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- mkdir build && cd build
- meson --prefix=/usr \
+ meson \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -30,24 +30,22 @@ build() {
-Dman=false \
-Ddocs=false \
-Ddaemon_user=colord \
- ..
+ -Dsane=true \
+ -Dvapi=true \
+ output .
- ninja
+ ninja -C output
}
check() {
- cd build
-
# cd-private-test is broken atm
# meson test
- src/cd-self-test
+ output/src/cd-self-test
}
package() {
- cd build
-
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C output install
chown -R colord:colord "$pkgdir"/var/lib/colord
}