diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-11-24 16:44:57 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-11-24 16:44:57 +0200 |
commit | 8bf8909aaad6082961476b080048def3199d1836 (patch) | |
tree | 73e7b6a5fed8ba9470164120c401584fdd114d71 /app-misc/geoclue | |
parent | gnome-base/gnome-shell-3.26.2-r4: propagate ~alpha keyword (diff) | |
download | gentoo-8bf8909aaad6082961476b080048def3199d1836.tar.gz gentoo-8bf8909aaad6082961476b080048def3199d1836.tar.bz2 gentoo-8bf8909aaad6082961476b080048def3199d1836.zip |
app-misc/geoclue: bump to 2.4.13; now autostarts an agent
Upstream now builds and installs a demo-agent by default, which is
autostarted for all desktops besides GNOME (which has its own agent
already). This is what makes geoclue actually useful, so not USE
flagging this for now at least.
Also don't enable modemmanager USE by default.
Closes: https://bugs.gentoo.org/671392
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'app-misc/geoclue')
-rw-r--r-- | app-misc/geoclue/Manifest | 1 | ||||
-rw-r--r-- | app-misc/geoclue/geoclue-2.4.13.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest index dd760305f679..807cc3225fe0 100644 --- a/app-misc/geoclue/Manifest +++ b/app-misc/geoclue/Manifest @@ -1,2 +1,3 @@ DIST geoclue-0.12.99.tar.gz 608074 BLAKE2B af0c8141ade57791159f87ee7725134f18ba07cfdf9207c26c1ce77fd46a41aabfec4ba37882816bd70341964db2a89c2bc327292c097ea2e413dcb4bd7385c8 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 +DIST geoclue-2.4.13.tar.bz2 108691 BLAKE2B 5ffc2aca51ad0943931c526da69225e3a0d9b0c850ea688a350c47696b83775dc078e928af8cb0996741386a41ab5ec1ac129676d7e3b4c8584b3720dd370c1e SHA512 ed9c295bbdc22836a548ca4d5014d109af214464d1dd2a00f1ec493a751d949930d9fa512e915c7d65b34c8706c3bf73e06dd5e170846edee9e764d144960e78 DIST geoclue-2.4.8.tar.xz 368404 BLAKE2B 244aaa01ebbac57839eb8e5a19f543f3940217de9ad076b55c6054ff818e3c2948d3419e7391e05ccc17a5234a76980dee0470ae806d437db95db4a9e128a678 SHA512 1741962b4bdce925af090961bd50f4d0d934f7b81e53968d5d8ea7957e8593c4c9a8084bbd149c454d76f2af35be036748f212c99506b475567384a43f579f3d diff --git a/app-misc/geoclue/geoclue-2.4.13.ebuild b/app-misc/geoclue/geoclue-2.4.13.ebuild new file mode 100644 index 000000000000..31ca81418d17 --- /dev/null +++ b/app-misc/geoclue/geoclue-2.4.13.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +GNOME2_EAUTORECONF="yes" # 2.4.13 isn't properly disted, as released concurrently with 2.5.x, which is meson + +inherit gnome2 systemd user + +DESCRIPTION="A geoinformation D-Bus service" +HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue" +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" +IUSE="+introspection 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 +" +DEPEND="${RDEPEND} + dev-util/gdbus-codegen + dev-util/glib-utils + >=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 +} |