2013-09-26 18:23:38 +02:00
|
|
|
# Template file for 'geoclue2'
|
|
|
|
pkgname=geoclue2
|
2014-06-29 11:00:25 +02:00
|
|
|
version=2.1.9
|
|
|
|
revision=1
|
2013-09-26 18:23:38 +02:00
|
|
|
wrksrc="geoclue-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --disable-schemas-compile"
|
2014-02-19 15:54:08 +01:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2014-06-29 11:00:25 +02:00
|
|
|
makedepends="systemd-devel json-glib-devel libsoup-gnome-devel>=2.44 ModemManager-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="libsoup>=2.44"
|
2014-03-27 16:26:46 +01:00
|
|
|
conf_file="/etc/geoclue/geoclue.conf"
|
2013-09-26 18:23:38 +02:00
|
|
|
short_desc="The Geoinformation Service (2.x series)"
|
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
|
2014-11-02 15:54:28 +01:00
|
|
|
update_pkgname=geoclue
|
2013-09-26 18:23:38 +02:00
|
|
|
license="LGPL-2.1"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz"
|
2014-06-29 11:00:25 +02:00
|
|
|
checksum=b416eea6042d774359f7a141e4e57704c3220363ab8e0bf5c212b1bd2976092b
|
2014-02-19 15:54:08 +01:00
|
|
|
|
2014-03-29 09:02:16 +01:00
|
|
|
# Run the daemon under an unprileged user.
|
|
|
|
system_accounts="geoclue2"
|
|
|
|
configure_args+=" --with-dbus-service-user=geoclue2"
|
|
|
|
|
2014-03-28 13:24:12 +01:00
|
|
|
lib32disabled=yes
|
|
|
|
|
2014-02-19 15:54:08 +01:00
|
|
|
# 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
|