summaryrefslogtreecommitdiffstats
path: root/abs/extra/geoclue/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:43:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:43:36 (GMT)
commit4ba1ae02f5991ab191788ae43c5499799b826e3b (patch)
tree0b1132cae4addb23608bf7a8d188b317f46bfbdb /abs/extra/geoclue/PKGBUILD
parente5c8fa1823e7fdedeee3d54eb005c4f8815a773a (diff)
downloadlinhes_pkgbuild-4ba1ae02f5991ab191788ae43c5499799b826e3b.zip
linhes_pkgbuild-4ba1ae02f5991ab191788ae43c5499799b826e3b.tar.gz
linhes_pkgbuild-4ba1ae02f5991ab191788ae43c5499799b826e3b.tar.bz2
geoclue 0.12.0
-new
Diffstat (limited to 'abs/extra/geoclue/PKGBUILD')
-rw-r--r--abs/extra/geoclue/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/extra/geoclue/PKGBUILD b/abs/extra/geoclue/PKGBUILD
new file mode 100644
index 0000000..78936e4
--- /dev/null
+++ b/abs/extra/geoclue/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 156782 2012-04-23 09:05:31Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=geoclue
+pkgver=0.12.0
+pkgrel=5
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
+arch=('i686' 'x86_64')
+url="http://geoclue.freedesktop.org/"
+license=('LGPL')
+depends=('dbus-glib' 'libxml2')
+optdepends=('networkmanager: geolocation'
+ 'gconf: geolocation'
+ 'libsoup-gnome: Skyhook location provider')
+makedepends=('gconf' 'libsoup-gnome' 'gtk-doc')
+options=('!libtool')
+source=(https://launchpad.net/geoclue/trunk/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz
+ geoclue-gcc46.patch)
+md5sums=('33af8307f332e0065af056ecba65fec2'
+ '0cf8ecc350be702f623ed9a9715818c5')
+
+build() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../geoclue-gcc46.patch
+
+ sed -i 's/libnm_glib/libnm-glib/g' configure.ac
+ sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
+ autoreconf -f -i
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}