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

community/geoclue: use abuild-meson & meson compile/test/install

parent e741f63f
No related branches found
No related tags found
1 merge request!12040Port all meson APKBUILDs to abuild-meson
......@@ -22,23 +22,21 @@ install="$pkgname.pre-install"
source="https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/$pkgver/geoclue-$pkgver.tar.bz2"
build() {
meson \
--buildtype=plain \
--prefix=/usr \
abuild-meson \
-Ddbus-srv-user=geoclue \
-Ddbus-sys-dir=/usr/share/dbus-1/system.d \
-Dgtk-doc=false \
-Dintrospection=true \
build
ninja -C build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
check() {
ninja -C build test
meson test --no-rebuild -v -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="d05160c95b80f05211d22de2631faf16d7263028c2eaf36a2cabf4d942e3db1d6157cd7feb7980ea358d208d5a24da181a3082488d9afcd126e2eecce5f4e78b geoclue-2.5.6.tar.bz2"
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