From 1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sun, 5 Nov 2023 20:18:46 -0800 Subject: user/colord: new package --- user/colord/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/colord/APKBUILD (limited to 'user/colord') diff --git a/user/colord/APKBUILD b/user/colord/APKBUILD new file mode 100644 index 000000000..6b6e4fadb --- /dev/null +++ b/user/colord/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=colord +pkgver=1.4.6 +pkgrel=0 +pkgdesc="Library for managing color profiles" +url="https://www.freedesktop.org/software/colord/" +arch="all" +options="!check" # broken tests +license="GPL-2.0+ AND LGPL-2.1+" +depends="" +makedepends="meson ninja bash-completion docbook-xsl-ns glib-dev + gobject-introspection-dev gtk-doc lcms2-dev libgudev-dev libgusb-dev + polkit-dev sqlite-dev vala-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://www.freedesktop.org/software/colord/releases/colord-$pkgver.tar.xz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dsystemd=false \ + -Ddaemon_user=nobody \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="d55d3322199d0bfee74eee9e183c9246ec33e755f0144d96087acb3c43ab5a3d872086fcef9f29cdd2295be71daac703cdf90ad10bf183622fdd84347e7af123 colord-1.4.6.tar.xz" -- cgit v1.2.3-70-g09d2