summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSobhan Mohammadpour <sobhan@gentoo.org>2019-06-19 01:07:07 -0400
committerSobhan Mohammadpour <sobhan@gentoo.org>2019-06-19 01:09:30 -0400
commit422e6437fcbc64531cacd2cb6866f60075e08105 (patch)
tree2b5e963688ece78b651ee6f6495a0db844920a5f /app-misc
parentsys-kernel/gentoo-sources: Stable for hppa (bug #688256) (diff)
downloadgentoo-422e6437fcbc64531cacd2cb6866f60075e08105.tar.gz
gentoo-422e6437fcbc64531cacd2cb6866f60075e08105.tar.bz2
gentoo-422e6437fcbc64531cacd2cb6866f60075e08105.zip
app-misc/geoclue: 2.4.13 → 2.5.3
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Sobhan Mohammadpour <sobhan@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/geoclue/Manifest1
-rw-r--r--app-misc/geoclue/geoclue-2.5.3.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest
index a523d2e937b0..79f90b5d05a8 100644
--- a/app-misc/geoclue/Manifest
+++ b/app-misc/geoclue/Manifest
@@ -1,2 +1,3 @@
DIST geoclue-2.4.13.tar.bz2 108691 BLAKE2B 5ffc2aca51ad0943931c526da69225e3a0d9b0c850ea688a350c47696b83775dc078e928af8cb0996741386a41ab5ec1ac129676d7e3b4c8584b3720dd370c1e SHA512 ed9c295bbdc22836a548ca4d5014d109af214464d1dd2a00f1ec493a751d949930d9fa512e915c7d65b34c8706c3bf73e06dd5e170846edee9e764d144960e78
DIST geoclue-2.4.8.tar.xz 368404 BLAKE2B 244aaa01ebbac57839eb8e5a19f543f3940217de9ad076b55c6054ff818e3c2948d3419e7391e05ccc17a5234a76980dee0470ae806d437db95db4a9e128a678 SHA512 1741962b4bdce925af090961bd50f4d0d934f7b81e53968d5d8ea7957e8593c4c9a8084bbd149c454d76f2af35be036748f212c99506b475567384a43f579f3d
+DIST geoclue-2.5.3.tar.bz2 85084 BLAKE2B 3f61c16dcb4d0de95499865d83df4bd9b393d9d2f204b70029fb753666caab0e74468ae14f37ed78475d623caae9553e0e69b62765afebc6730212428d377aff SHA512 b4188f1b055f84ce0c58e497896a328d09838073b867598a0ca026c741e4464ae7ee54e53e9f02addd818152dce4a21eb5f83a3245e7ce1a93eec5671d0a9ee9
diff --git a/app-misc/geoclue/geoclue-2.5.3.ebuild b/app-misc/geoclue/geoclue-2.5.3.ebuild
new file mode 100644
index 000000000000..67b5750e57ac
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.5.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit gnome.org meson systemd user
+
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"
+SRC_URI="https://gitlab.freedesktop.org/geoclue/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+#todo maybe add a use flat for libgeoclue
+IUSE="+introspection gtk-doc modemmanager zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.44: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.6 )
+ zeroconf? ( >=net-dns/avahi-0.6.10[dbus] )
+ !<sci-geosciences/geocode-glib-3.10.0
+ x11-libs/libnotify
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-1
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ # debug only affects CFLAGS
+ local emesonargs=(
+ $(meson_use gtk-doc)
+ -Ddbus-service-user=geoclue \
+ -Denable-backend=true \
+ -Dlibgeoclue=true \
+ -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" \
+ -Ddemo-agent=false \
+ $(meson_use introspection) \
+ $(meson_use modemmanager 3g-source) \
+ $(meson_use modemmanager cdma-source) \
+ $(meson_use modemmanager modem-gps-source) \
+ $(meson_use zeroconf nmea-source)
+ )
+ meson_src_configure
+}
+
+pkg_preinst() {
+ enewgroup geoclue
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue
+}