From cc9e6eb62552c3532e95117c4e22aaa27c232bfe Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 1 Sep 2020 00:18:59 +0200 Subject: [PATCH] main/py3-gobject3: use abuild-meson & meson compile/test/install --- main/py3-gobject3/APKBUILD | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/main/py3-gobject3/APKBUILD b/main/py3-gobject3/APKBUILD index cfe65623db1..bbd31cd128a 100644 --- a/main/py3-gobject3/APKBUILD +++ b/main/py3-gobject3/APKBUILD @@ -20,21 +20,16 @@ builddir="$srcdir"/pygobject-$pkgver replaces="py-gobject3" # Backwards compatibility provides="py-gobject3=$pkgver-r$pkgrel" # Backwards compatibility -build() { - meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=plain \ +build() { + abuild-meson \ -Dpython=python3 \ . output - ninja -C output + meson compile ${JOBS:+-j ${JOBS}} -C output } check() { - PYGI_TEST_VERBOSE="1" xvfb-run ninja -C output test + PYGI_TEST_VERBOSE="1" xvfb-run meson test --no-rebuild -v -C output } package() {