2011-03-03 16:00:35 +00:00
|
|
|
# Template file for 'geoclue'
|
|
|
|
pkgname=geoclue
|
|
|
|
version=0.12.0
|
2013-11-03 05:30:51 +00:00
|
|
|
revision=7
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-10 14:42:26 +00:00
|
|
|
configure_args="--disable-static --enable-networkmanager=no --enable-conic=no"
|
2013-04-03 15:16:36 +00: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 16:00:35 +00:00
|
|
|
short_desc="The Geoinformation Service"
|
2013-03-30 17:26:47 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
|
|
|
|
license="LGPL-2.1"
|
2011-03-03 16:00:35 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 14:42:26 +00:00
|
|
|
distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz"
|
2011-03-03 16:00:35 +00: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 06:24:43 +00: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 14:42:26 +00:00
|
|
|
sed -i '/-Werror/d' configure.ac
|
2013-04-03 15:16:36 +00:00
|
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
|
2012-05-23 06:24:43 +00:00
|
|
|
autoreconf -fi
|
2011-07-02 19:20:57 +00:00
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
geoclue-devel_package() {
|
2013-11-03 05:30:51 +00:00
|
|
|
depends="dbus-glib-devel libxml2-devel ${sourcepkg}>=${version}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
2013-11-03 05:30:51 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
geoclue_package() {
|
|
|
|
pkg_install() {
|
2013-11-03 05:30:51 +00:00
|
|
|
vmove all
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|