2013-09-26 18:23:38 +02:00
|
|
|
# Template file for 'geoclue2'
|
|
|
|
pkgname=geoclue2
|
|
|
|
version=2.0.0
|
2014-02-19 15:54:08 +01:00
|
|
|
revision=2
|
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"
|
2013-09-26 18:23:38 +02:00
|
|
|
makedepends="json-glib-devel libsoup-gnome-devel>=2.44"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="libsoup>=2.44"
|
2013-09-26 18:23:38 +02:00
|
|
|
short_desc="The Geoinformation Service (2.x series)"
|
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/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=4a82f184e55a163d86e0ad69bbe1bba9960bb5094220fe1f01350bceda8c67a1
|
2014-02-19 15:54:08 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# 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
|