aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libosinfo/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/libosinfo/APKBUILD b/community/libosinfo/APKBUILD
index 134ee8c822..dc073e54b5 100644
--- a/community/libosinfo/APKBUILD
+++ b/community/libosinfo/APKBUILD
@@ -27,9 +27,7 @@ builddir="$srcdir/libosinfo-v$pkgver"
# - CVE-2019-13313
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
+ abuild-meson \
-Denable-gtk-doc=false \
-Denable-introspection=enabled \
-Denable-tests=true \
@@ -37,15 +35,15 @@ build() {
-Dwith-pci-ids-path=/usr/share/hwdata/pci.ids \
-Dwith-usb-ids-path=/usr/share/hwdata/usb.ids \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- 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="ac4f7bc7a5bb937e8569a0b66575044c41cf6b8d5f4555f90a48ba64712c0f88cb22e152dff7440d71d48c6a1528069c16fee7a86ebe9d3731f9f16d97236c20 libosinfo-v1.8.0.tar.gz"