summaryrefslogtreecommitdiff
path: root/community/clutter-gtk/APKBUILD
blob: dbd548b26df2f681ee8ff5686ebe353e87fe4534 (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
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter-gtk
pkgver=1.8.4
pkgrel=3
pkgdesc="Gtk clutter embed library"
url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
license="LGPL-2.0-or-later"
makedepends="gtk+3.0-dev gtk-doc clutter-dev libxslt libxml2-utils itstool gobject-introspection-dev meson"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/clutter-gtk/${pkgver%.*}/clutter-gtk-$pkgver.tar.xz"

build() {
	abuild-meson \
		-D enable_docs=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

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

sha512sums="
810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada  clutter-gtk-1.8.4.tar.xz
"