aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:31 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:33 +0200
commite17783ebda1d3ddf83ed8ba244711b289d925c28 (patch)
tree907c7c1f0f1326365a892046908fe55e2124b4db
parentf642f359b025511613ceb4635e3716c36a16a5ab (diff)
downloadaports-e17783ebda1d3ddf83ed8ba244711b289d925c28.tar.gz
aports-e17783ebda1d3ddf83ed8ba244711b289d925c28.tar.bz2
aports-e17783ebda1d3ddf83ed8ba244711b289d925c28.tar.xz
community/gtk-vnc: use abuild-meson & meson compile/test/install
-rw-r--r--community/gtk-vnc/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/gtk-vnc/APKBUILD b/community/gtk-vnc/APKBUILD
index 050f20e02c..1fd78d7fbc 100644
--- a/community/gtk-vnc/APKBUILD
+++ b/community/gtk-vnc/APKBUILD
@@ -20,25 +20,20 @@ subpackages="$pkgname-dev gvncviewer $pkgname-lang $pkgname-doc"
build() {
# https://gitlab.gnome.org/GNOME/gtk-vnc/issues/11
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Dwith-vala=true \
-Dwith-coroutine=gthread \
. 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
}
gvncviewer() {