aboutsummaryrefslogtreecommitdiffstats
path: root/community/colord-gtk/APKBUILD
blob: 1dd3eee86583ec0215fa252bcbd3d4bc376d7950 (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
36
37
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=colord-gtk
pkgver=0.2.0
pkgrel=1
pkgdesc="GTK support library for colord"
options="!check" # Requires bus session
url="https://www.freedesktop.org/software/colord/"
arch="all"
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() {
	meson \
		--prefix=/usr \
		--buildtype=plain \
		-Dgtk2=false \
		-Dvapi=true \
		-Dtests=true \
		-Dman=false \
		-Ddocs=false \
		. output
	ninja -C output
}

check() {
	xvfb-run ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

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