summaryrefslogtreecommitdiff
path: root/user/colord
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-05 20:18:46 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-08 16:33:29 -0800
commit1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8 (patch)
tree2e7b2b886078c302048f75c4d6ae882a099a6098 /user/colord
parentc14372374a6cf8641be7a59a801ccf6b49daf077 (diff)
downloadpackages-1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8.tar.gz
packages-1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8.tar.bz2
packages-1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8.tar.xz
packages-1f5b8b0c7bfe22fbf37dda200294a0dadccadbe8.zip
user/colord: new package
Diffstat (limited to 'user/colord')
-rw-r--r--user/colord/APKBUILD40
1 files changed, 40 insertions, 0 deletions
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 <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+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"