aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 11:34:55 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:38:21 +0200
commita196f2fc7fce7fac20479b4735e2da1110dd38b4 (patch)
tree056cc7a61ace7920ec9e6ed7651339a867cebff1
parent9d1a2a0d45e3e2088ed0efeb02d0bf9e0316e13d (diff)
downloadaports-a196f2fc7fce7fac20479b4735e2da1110dd38b4.tar.gz
aports-a196f2fc7fce7fac20479b4735e2da1110dd38b4.tar.bz2
aports-a196f2fc7fce7fac20479b4735e2da1110dd38b4.tar.xz
community/virglrenderer: use abuild-meson & meson compile/test/install
-rw-r--r--community/virglrenderer/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/virglrenderer/APKBUILD b/community/virglrenderer/APKBUILD
index 7d4dfc9acc..9b2b9a119a 100644
--- a/community/virglrenderer/APKBUILD
+++ b/community/virglrenderer/APKBUILD
@@ -22,20 +22,18 @@ builddir="$srcdir/$pkgname-$pkgname-$pkgver"
# - CVE-2019-18391
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
+ abuild-meson \
-Dtests=true \
- . output
- ninja -C output
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
check() {
- ninja -C output test
+ meson test --no-rebuild -v -C output
}
sha512sums="a64069bf6a28e5b77da53b5226a447decc3fe07a5c28bc49c2c15413b7651605170c5644a24f6a0ce9216a0f55afcee0246c3e4d9bc8f32dad771be3115e0f2a virglrenderer-virglrenderer-0.8.2.tar.gz