makedepends=(avahi libsoup json-glib modemmanager libnotify geoip gobject-introspection intltool cmake gtk-doc)

description="Modular geoinformation service built on the D-Bus messaging system."
url="http://freedesktop.org/software/geoclue/docs/"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=geoclue2
version=2.7.1
release=1

source=(https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/$version/geoclue-$version.tar.bz2)

build() {

  mkdir -pv build && cd build

  meson --prefix=/usr \
        --libdir=/usr/lib \
        -Dvapi=false \
        ../geoclue-$version

  ninja

  DESTDIR=$PKG ninja install
}
