[arch-commits] Commit in geoclue/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Apr 1 10:15:56 EDT 2012


    Date: Sunday, April 1, 2012 @ 10:15:56
  Author: heftig
Revision: 155302

reduce deps

Modified:
  geoclue/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-01 14:14:16 UTC (rev 155301)
+++ PKGBUILD	2012-04-01 14:15:56 UTC (rev 155302)
@@ -4,12 +4,16 @@
 
 pkgname=geoclue
 pkgver=0.12.0
-pkgrel=4
+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=('gconf' 'gtk2' 'libsoup-gnome' 'networkmanager')
+depends=('dbus-glib' 'libxml2')
+optdepends=('networkmanager: geolocation'
+            'gconf: geolocation'
+            'libsoup-gnome: Skyhook location provider')
+makedepends=('gconf' 'networkmanager' 'libsoup-gnome' 'gtk-doc')
 options=('!libtool')
 source=(https://launchpad.net/geoclue/trunk/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz
         geoclue-gcc46.patch)
@@ -19,9 +23,13 @@
 build() {
   cd $pkgname-$pkgver
   patch -Np1 -i ../geoclue-gcc46.patch
-  sed -i 's/libnm_glib/libnm-glib/g' configure
+
+  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 --enable-skyhook=no
+              --disable-static
   make
 }
 



More information about the arch-commits mailing list