aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdazzle/APKBUILD
blob: a174a7ca44cd241f5ffae40796b35c9c48ceff20 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libdazzle
pkgver=3.40.0
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"
source="https://download.gnome.org/sources/libdazzle/${pkgver%.*}/libdazzle-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Denable_gtk_doc=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="23bf0a176fb847ee46a22a96594e9ed60921f104875fd102375445f364b552167778a56dd4929a18b2a7bee1144fd5e07d5cadac3355ac4877cd56838cb5deb2  libdazzle-3.40.0.tar.xz"