blob: bc54be8e150c3a1c008fddd5434f5104ed3b948a (
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
38
39
40
41
42
43
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=colord-gtk
pkgver=0.3.0
pkgrel=2
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="
colord-dev
glib-dev
gtk+3.0-dev
gtk4.0-dev
lcms2-dev
meson
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-lang"
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 -C output
}
check() {
xvfb-run meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
95ea9e8925d56462b8e5230a6737ca8e75d2273b2803e00f7aa2f933d22f88373194dccc00117fce85579274cc0daf88876fa265510580b1610734bb45220896 colord-gtk-0.3.0.tar.xz
"
|