summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich RĂ©ale <ulrich.reale@mailoo.org>2017-06-02 16:56:40 +0400
committerPatrice Clement <monsieurp@gentoo.org>2017-06-30 15:16:43 +0200
commit9c8314a0e3b7a4d1dd862d7b61c6d93959a86983 (patch)
tree66bb57d77ba900249d46fb25ec836a5d5f0305d2 /app-misc/geoclue
parentgames-simulation/simutrans: version bump. (diff)
downloadgentoo-9c8314a0e3b7a4d1dd862d7b61c6d93959a86983.tar.gz
gentoo-9c8314a0e3b7a4d1dd862d7b61c6d93959a86983.tar.bz2
gentoo-9c8314a0e3b7a4d1dd862d7b61c6d93959a86983.zip
app-misc/geoclue: EAPI 6 bump and version bump to 2.4.7.
Package-Manager: Portage-2.3.5, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4830
Diffstat (limited to 'app-misc/geoclue')
-rw-r--r--app-misc/geoclue/Manifest1
-rw-r--r--app-misc/geoclue/geoclue-2.4.7.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest
index 9910233eefd5..81e72fd30d86 100644
--- a/app-misc/geoclue/Manifest
+++ b/app-misc/geoclue/Manifest
@@ -1,2 +1,3 @@
DIST geoclue-0.12.99.tar.gz 608074 SHA256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 WHIRLPOOL fc7e96d6646a7fa527807db2a3375a714243fb935f064b9acbb84f8652cc64e19d2655979c053e2f1b433c69a47a393123bc4bb2f8f16395a3ecbba668c9f1bd
DIST geoclue-2.4.4.tar.xz 392340 SHA256 9c43fb9d0c12067ea64400500abb0640194947d4c2c55e38545afe5d9c5c315c SHA512 46995aa261ff5c391eb1e933088e24e40e595a98563b541675cbfab38e69f410cd3ad7a3c1f4126e4eb62eea0be9a77f8e3c37af89b4aaad81e07c150b003f7a WHIRLPOOL 42691170b0e9097fb4caef656cd79c0861f61cd0bbf811a74653799848184f98f960e5294375b5632c30de29e798318443706ff803ae46d19ca422abe3caaac4
+DIST geoclue-2.4.7.tar.xz 368472 SHA256 d17b96bb5799a84723385ea5704235565e9c3dedd2b7afac475a06e550ae0ea6 SHA512 472cf923abfd40dee296eee2e6888c47f273ad709e1bdcce534bd794cf9f7073ceabd6addf918277e10498e094af5a6e9539b5cf24171577e78bc3b0b2d17b72 WHIRLPOOL 10eb6a1303e6841fb2c210fa0f1c63c82c10d80b24974e8865aae32145a1c584c981f60d5b45c9e72154f28dd1e82bcd913eae11365db27cfd4f76492b4ff1b0
diff --git a/app-misc/geoclue/geoclue-2.4.7.ebuild b/app-misc/geoclue/geoclue-2.4.7.ebuild
new file mode 100644
index 000000000000..9518ac0b7f53
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.4.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit gnome2 systemd user versionator
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="https://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="+introspection +modemmanager zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/json-glib-0.14
+ >=net-libs/libsoup-2.42:2.4
+ sys-apps/dbus
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ modemmanager? ( >=net-misc/modemmanager-1 )
+ zeroconf? ( >=net-dns/avahi-0.6.10 )
+ !<sci-geosciences/geocode-glib-3.10.0
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.1-fix-GLIBC-features.patch
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # debug only affects CFLAGS
+ gnome2_src_configure \
+ --enable-backend \
+ --with-dbus-service-user=geoclue \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
+ $(use_enable introspection) \
+ $(use_enable modemmanager 3g-source) \
+ $(use_enable modemmanager cdma-source) \
+ $(use_enable modemmanager modem-gps-source) \
+ $(use_enable zeroconf nmea-source)
+}
+
+pkg_preinst() {
+ enewgroup geoclue
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue
+ gnome2_pkg_preinst
+}