Skip to content
Snippets Groups Projects
Verified Commit e17783eb authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

community/gtk-vnc: use abuild-meson & meson compile/test/install

parent f642f359
No related branches found
No related tags found
1 merge request!12040Port all meson APKBUILDs to abuild-meson
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment