aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 11:34:52 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:38:17 +0200
commit06cc83bd9463b733ea5a3205899c14f60405b275 (patch)
tree0b492b1ecdee453e6b9691f8406331a1a045b1f5
parent46f28f52022099ff50ff42ccaaecf0c788e5219c (diff)
downloadaports-06cc83bd9463b733ea5a3205899c14f60405b275.tar.gz
aports-06cc83bd9463b733ea5a3205899c14f60405b275.tar.bz2
aports-06cc83bd9463b733ea5a3205899c14f60405b275.tar.xz
community/libgdata: use abuild-meson & meson compile/test/install
-rw-r--r--community/libgdata/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/libgdata/APKBUILD b/community/libgdata/APKBUILD
index 6fe5af7138..433e9d50b8 100644
--- a/community/libgdata/APKBUILD
+++ b/community/libgdata/APKBUILD
@@ -20,10 +20,7 @@ source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-$pkgve
replaces="$pkgname-static $pkgname-doc" # Backwards compatiblity
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --buildtype=plain \
+ abuild-meson \
-Dintrospection=true \
-Dvapi=true \
-Dgtk_doc=false \
@@ -33,7 +30,7 @@ build() {
-Dgnome=enabled \
-Dgtk=enabled \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
@@ -42,11 +39,11 @@ check() {
aarch64) return 0 ;;
x86) return 0 ;;
esac
- ninja -C output test
+ meson test --no-rebuild -v -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="b074097bd3cc78951638f0d726a948c9ba994c64c85c0cfe713c3d87419a9a96b66688bde88732dfb529325dca2b8251bd161337532bffaf9564f7f5819b9343 libgdata-0.17.13.tar.xz