summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/geoclue/ChangeLog8
-rw-r--r--app-misc/geoclue/geoclue-2.1.8.ebuild50
-rw-r--r--app-misc/geoclue/metadata.xml1
3 files changed, 58 insertions, 1 deletions
diff --git a/app-misc/geoclue/ChangeLog b/app-misc/geoclue/ChangeLog
index d41aa2ba510e..f18d32c4479f 100644
--- a/app-misc/geoclue/ChangeLog
+++ b/app-misc/geoclue/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/geoclue
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/ChangeLog,v 1.31 2014/03/09 11:53:58 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/ChangeLog,v 1.32 2014/04/27 15:42:09 eva Exp $
+
+*geoclue-2.1.8 (27 Apr 2014)
+
+ 27 Apr 2014; Gilles Dartiguelongue <eva@gentoo.org> +geoclue-2.1.8.ebuild,
+ metadata.xml:
+ Version bump for Gnome 3.12.
09 Mar 2014; Pacho Ramos <pacho@gentoo.org> geoclue-2.0.0.ebuild:
x86 stable, bug 499954
diff --git a/app-misc/geoclue/geoclue-2.1.8.ebuild b/app-misc/geoclue/geoclue-2.1.8.ebuild
new file mode 100644
index 000000000000..091e06014232
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.1.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-2.1.8.ebuild,v 1.1 2014/04/27 15:42:09 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 systemd user versionator
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE="+modemmanager +networkmanager"
+
+RDEPEND="
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/json-glib-0.14
+ >=dev-libs/libxml2-2.7:2
+ net-libs/libsoup:2.4
+ sys-apps/dbus
+ modemmanager? ( >=net-misc/modemmanager-1 )
+ networkmanager? ( >=net-misc/networkmanager-0.9.8 )
+ !<sci-geosciences/geocode-glib-3.10.0
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+"
+
+src_configure() {
+ # debug only affects CFLAGS
+ gnome2_src_configure \
+ --with-dbus-service-user=geoclue \
+ $(use_enable modemmanager 3g-source) \
+ $(use_enable modemmanager modem-gps-source) \
+ $(use_enable networkmanager network-manager) \
+ $(systemd_with_unitdir)
+}
+
+pkg_preinst() {
+ enewgroup geoclue
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue
+}
diff --git a/app-misc/geoclue/metadata.xml b/app-misc/geoclue/metadata.xml
index 6d7a565886cd..604a304c83da 100644
--- a/app-misc/geoclue/metadata.xml
+++ b/app-misc/geoclue/metadata.xml
@@ -9,6 +9,7 @@
<flag name="gtk">Install gtk-based geoclue-test-gui</flag>
<flag name="hostip">Install hostip.info provder</flag>
<flag name="manual">Install manual provider</flag>
+ <flag name="modemmanager">Enable geolocation through 3G or GPS enabled hardware through <pkg>net-misc/modemmanager</pkg>.</flag>
<flag name="nominatim">Install openstreetmap.org provider</flag>
<flag name="plazes">Install plazes.com provider</flag>
<flag name="server">Install geoip server</flag>