app-misc/geoclue: 2.4.13 → 2.5.3
authorSobhan Mohammadpour <sobhan@gentoo.org>
Wed, 19 Jun 2019 05:07:07 +0000 (01:07 -0400)
committerSobhan Mohammadpour <sobhan@gentoo.org>
Wed, 19 Jun 2019 05:09:30 +0000 (01:09 -0400)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sobhan Mohammadpour <sobhan@gentoo.org>
app-misc/geoclue/Manifest
app-misc/geoclue/geoclue-2.5.3.ebuild [new file with mode: 0644]
profiles/package.mask

index a523d2e937b0ed810515f8c2416549b8f62f6b33..79f90b5d05a8d1402e85d447d434c886336b25f7 100644 (file)
@@ -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 (file)
index 0000000..67b5750
--- /dev/null
@@ -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
+}
index e41dd1c9202d2f1ea64ab87527ac7bf73a207b21..dda9242c6994ec6ccae67d723485a6368bc757a4 100644 (file)
 
 #--- END OF EXAMPLES ---
 
+# Sobhan Mohammadpour <sobhan@gentoo.org> (19 Jun 2019)
+# this is new and it needs testing
+=app-misc/geoclue-2.5.3
+
 # Georgy Yakovlev <gyakovlev@gentoo.org> (17 Jun 2019)
 # this is now provided by dev-lang/rust{-bin}[rustfmt]
 # it's tightly integrated with rust toolchain, eselect-rust