# Contributor: Leo # Maintainer: Rasmus Thomsen pkgname=geoclue pkgver=2.5.3 pkgrel=0 pkgdesc="dbus geolocation service" url="https://www.freedesktop.org/wiki/Software/GeoClue/" arch="all" license="LGPL-2.1-or-later" makedepends=" meson libsoup-dev json-glib-dev modemmanager-dev avahi-dev intltool gobject-introspection-dev libnotify-dev " subpackages="$pkgname-dev $pkgname-doc" install="$pkgname.pre-install" source="https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/$pkgver/geoclue-$pkgver.tar.bz2" build() { meson \ --prefix=/usr \ -Ddbus-srv-user=geoclue \ -Ddbus-sys-dir=/usr/share/dbus-1/system.d \ -Dgtk-doc=false \ -Dintrospection=true \ build ninja -C build } check() { ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="b4188f1b055f84ce0c58e497896a328d09838073b867598a0ca026c741e4464ae7ee54e53e9f02addd818152dce4a21eb5f83a3245e7ce1a93eec5671d0a9ee9 geoclue-2.5.3.tar.bz2"