diff options
Diffstat (limited to 'app-misc/geoclue/geoclue-2.1.10.ebuild')
-rw-r--r-- | app-misc/geoclue/geoclue-2.1.10.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/geoclue/geoclue-2.1.10.ebuild b/app-misc/geoclue/geoclue-2.1.10.ebuild new file mode 100644 index 000000000000..3379ca012a60 --- /dev/null +++ b/app-misc/geoclue/geoclue-2.1.10.ebuild @@ -0,0 +1,48 @@ +# 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.10.ebuild,v 1.1 2014/10/09 09:19:14 jer 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" + +RDEPEND=" + >=dev-libs/glib-2.34:2 + >=dev-libs/json-glib-0.14 + net-libs/libsoup:2.4 + sys-apps/dbus + modemmanager? ( >=net-misc/modemmanager-1 ) + !<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 cdma-source) \ + $(use_enable modemmanager modem-gps-source) \ + $(systemd_with_unitdir) +} + +pkg_preinst() { + enewgroup geoclue + enewuser geoclue -1 -1 /var/lib/geoclue geoclue +} |