aboutsummaryrefslogtreecommitdiffstats
path: root/community/colord-gtk/APKBUILD
blob: 9e13605858f2fd5c7b8a1c505bfeb21b84112a32 (plain)
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
33
34
35
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=colord-gtk
pkgver=0.2.0
pkgrel=2
pkgdesc="GTK support library for colord"
options="!check" # Requires bus session
url="https://www.freedesktop.org/software/colord/"
# s390x and riscv64 blocked by polkit -> colord
arch="all !s390x !riscv64"
license="LGPL-2.1-or-later"
makedepends="meson intltool glib-dev gtk+3.0-dev colord-dev lcms2-dev"
checkdepends="xvfb-run"
subpackages="$pkgname-dev"
source="https://www.freedesktop.org/software/colord/releases/colord-gtk-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dgtk2=false \
		-Dvapi=true \
		-Dtests=true \
		-Dman=false \
		-Ddocs=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="797eebfd4451fcae4cf70835f5de3d9bdc9e8401ddb82a2fef2310002f28bf523b599c587ff35eb89ceff38a245a6311129ad90b107f837ac4f42f268c9aad97  colord-gtk-0.2.0.tar.xz"