aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:28 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:30 +0200
commit5cdd0f02ab66b316850be9d21c4451b4bd301c7a (patch)
tree3860daef5521e3366708da45c826e7e17d47b54d
parentc301e710e08756d90e29ca946e8377e87d5ef92b (diff)
downloadaports-5cdd0f02ab66b316850be9d21c4451b4bd301c7a.tar.gz
aports-5cdd0f02ab66b316850be9d21c4451b4bd301c7a.tar.bz2
aports-5cdd0f02ab66b316850be9d21c4451b4bd301c7a.tar.xz
community/grilo: use abuild-meson & meson compile/test/install
-rw-r--r--community/grilo/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/grilo/APKBUILD b/community/grilo/APKBUILD
index 9b788351ab..a9e8d3effc 100644
--- a/community/grilo/APKBUILD
+++ b/community/grilo/APKBUILD
@@ -14,21 +14,19 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://download.gnome.org/sources/grilo/${pkgver%.*}/grilo-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
+ abuild-meson \
-Denable-introspection=true \
-Denable-vala=true \
build
- ninja -C build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
}
check() {
- ninja -C build test
+ meson test --no-rebuild -v -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="b229b9b7524c1be63ed8891a9438844ebb87013074b394330f25316feb015040b304cd98bf3c89dc3248e6898c587a5e51666776a5b4ba5026a80ee8ad3e6d01 grilo-0.3.13.tar.xz"