aboutsummaryrefslogtreecommitdiffstats
path: root/community/graphene/APKBUILD
blob: ddd0dfc56abac5a141996d7dc197acf583aed876 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=graphene
pkgver=1.10.6
pkgrel=1
pkgdesc="A thin layer of graphic data types"
url="http://ebassi.github.io/graphene/"
arch="all"
license="MIT"
makedepends="meson glib-dev gobject-introspection-dev"
subpackages="$pkgname-dev"
source="https://github.com/ebassi/graphene/releases/download/$pkgver/graphene-$pkgver.tar.xz
    fix-gnome-shell-touch-issues.patch"

build() {
	abuild-meson \
		-Dinstalled_tests=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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

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

sha512sums="075e8c712509655d0614258a7fd2943e67a9642334cdabdc15d2489a88c961e278f7464a513080cd287f5371c7ece8ceb7565d1718a8b71fea4a4977f82aeb72  graphene-1.10.6.tar.xz
07f2e9ed7099f1e3f785f7b53078e4ea642739bfb23f4c3353c42d72690df3368fac28d70197eb28dbf02ddd1832d89e41ea83c1591d54a57fccafa3e9b4bedc  fix-gnome-shell-touch-issues.patch"