From 018656a382317deb927b347e290509cfc2a07159 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 15 Dec 2014 22:55:03 +0000
Subject: geoclue: update to 0.12.99

---
 abs/extra/geoclue/PKGBUILD        | 36 +++++++++++++-----------------------
 abs/extra/geoclue/geoclue.install | 11 +++++++++++
 2 files changed, 24 insertions(+), 23 deletions(-)
 create mode 100644 abs/extra/geoclue/geoclue.install

diff --git a/abs/extra/geoclue/PKGBUILD b/abs/extra/geoclue/PKGBUILD
index 78936e4..84a354d 100644
--- a/abs/extra/geoclue/PKGBUILD
+++ b/abs/extra/geoclue/PKGBUILD
@@ -1,35 +1,25 @@
-# $Id: PKGBUILD 156782 2012-04-23 09:05:31Z ibiru $
+# $Id$
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
 # Contributor: György Balló <ballogy@freestart.hu>
 
 pkgname=geoclue
-pkgver=0.12.0
-pkgrel=5
+pkgver=0.12.99
+pkgrel=2
 pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=('i686' 'x86_64')
+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')
+license=(LGPL)
+depends=(dbus-glib libxml2 dconf)
+makedepends=(libsoup-gnome gtk-doc)
+optdepends=('libsoup-gnome: Skyhook location provider')
+install=geoclue.install
+source=(http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.gz)
+md5sums=('779245045bfeeec4853da8baaa3a18e6')
 
 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
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static
   make
 }
 
diff --git a/abs/extra/geoclue/geoclue.install b/abs/extra/geoclue/geoclue.install
new file mode 100644
index 0000000..c25dff2
--- /dev/null
+++ b/abs/extra/geoclue/geoclue.install
@@ -0,0 +1,11 @@
+post_install() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}
-- 
cgit v0.12