aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libdazzle/APKBUILD
blob: 7b6e54d9b682a5c800e8d697f1aede6e5cafc228 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libdazzle
pkgver=3.32.2
pkgrel=0
pkgdesc="Library to delight your users with fancy features"
url="https://gitlab.gnome.org/GNOME/libdazzle"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev vala gobject-introspection-dev gtk-doc meson"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libdazzle/${pkgver%.*}/libdazzle-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--buildtype=release \
		-Denable_gtk_doc=true \
		. output
	ninja -C output
}

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

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

sha512sums="06399839ea8fb18f8a538f413eb01524e6633e1fe56422ecf44453d319edf8baf9e63467dac19b29cedf13e399bff93a400207b3d5fff514dc83882bb62e435e  libdazzle-3.32.2.tar.xz"