void-packages/srcpkgs/geoclue2/template

40 lines
1.2 KiB
Plaintext

# Template file for 'geoclue2'
pkgname=geoclue2
version=2.1.9
revision=1
wrksrc="geoclue-${version}"
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="systemd-devel json-glib-devel libsoup-gnome-devel>=2.44 ModemManager-devel"
depends="libsoup>=2.44"
conf_file="/etc/geoclue/geoclue.conf"
short_desc="The Geoinformation Service (2.x series)"
homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
update_pkgname=geoclue
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz"
checksum=b416eea6042d774359f7a141e4e57704c3220363ab8e0bf5c212b1bd2976092b
# Run the daemon under an unprileged user.
system_accounts="geoclue2"
configure_args+=" --with-dbus-service-user=geoclue2"
lib32disabled=yes
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi