2011-03-03 17:00:35 +01:00
|
|
|
# Template file for 'geoclue'
|
|
|
|
pkgname=geoclue
|
|
|
|
version=0.12.0
|
2013-11-03 06:30:51 +01:00
|
|
|
revision=7
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 16:42:26 +02:00
|
|
|
configure_args="--disable-static --enable-networkmanager=no --enable-conic=no"
|
2013-04-03 17:16:36 +02:00
|
|
|
hostmakedepends="automake gtk-doc pkg-config intltool gobject-introspection"
|
|
|
|
makedepends="dbus-glib-devel libxslt-devel GConf-devel gtk+-devel libsoup-gnome-devel"
|
2011-03-03 17:00:35 +01:00
|
|
|
short_desc="The Geoinformation Service"
|
2013-03-30 18:26:47 +01:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
|
|
|
|
license="LGPL-2.1"
|
2011-03-03 17:00:35 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 16:42:26 +02:00
|
|
|
distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz"
|
2011-03-03 17:00:35 +01:00
|
|
|
checksum=0f533f177ae9aa35e807a01c754840f66df9579f5524552f14f2b5ba670a4696
|
|
|
|
long_desc="
|
|
|
|
Geoclue is a modular geoinformation service built on top of the D-Bus
|
|
|
|
messaging system. The goal of the Geoclue project is to make creating
|
|
|
|
location-aware applications as simple as possible."
|
|
|
|
|
2012-05-23 08:24:43 +02:00
|
|
|
pre_configure() {
|
|
|
|
sed -i 's/libnm_glib/libnm-glib/g' configure.ac
|
|
|
|
sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
|
2012-10-10 16:42:26 +02:00
|
|
|
sed -i '/-Werror/d' configure.ac
|
2013-04-03 17:16:36 +02:00
|
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
|
2012-05-23 08:24:43 +02:00
|
|
|
autoreconf -fi
|
2011-07-02 21:20:57 +02:00
|
|
|
}
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
geoclue-devel_package() {
|
2013-11-03 06:30:51 +01:00
|
|
|
depends="dbus-glib-devel libxml2-devel ${sourcepkg}>=${version}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
2013-11-03 06:30:51 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
geoclue_package() {
|
|
|
|
pkg_install() {
|
2013-11-03 06:30:51 +01:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|