summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/geoclue/Manifest1
-rw-r--r--app-misc/geoclue/geoclue-2.7.0-r5.ebuild77
-rw-r--r--metadata/md5-cache/app-misc/geoclue-2.7.0-r517
-rw-r--r--metadata/pkg_desc_index1
4 files changed, 96 insertions, 0 deletions
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest
new file mode 100644
index 00000000..045eab9f
--- /dev/null
+++ b/app-misc/geoclue/Manifest
@@ -0,0 +1 @@
+DIST geoclue-2.7.0.tar.bz2 105353 BLAKE2B b9bcf29bcdb5302d3df29f48ec235265582ec60badc4f71469faa0d100f860f943529c6a74aadec4b03cbc1474f5eab837b1b9b19ba5c7e0ab0fb6c868db727a SHA512 2314242f529b9011ee5da6e8cfc657568853769e4d38b8e7c604097a747dd5705d9f84dcd2763cdacb9f014e15b63fbb8356d6cb488ba91334cda87c11e4ee7d
diff --git a/app-misc/geoclue/geoclue-2.7.0-r5.ebuild b/app-misc/geoclue/geoclue-2.7.0-r5.ebuild
new file mode 100644
index 00000000..c70c6e6d
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.7.0-r5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit meson python-any-r1 systemd vala xdg
+
+DESCRIPTION="A location information 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.1+ GPL-2+"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+introspection gtk-doc modemmanager vala zeroconf"
+REQUIRED_USE="vala? ( introspection )"
+
+DEPEND="
+ >=dev-libs/glib-2.44:2
+ >=dev-libs/json-glib-0.14.0
+ >=net-libs/libsoup-3.0.0:3.0
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+ modemmanager? ( >=net-misc/modemmanager-1.6 )
+ zeroconf? ( >=net-dns/avahi-0.6.10[dbus] )
+ x11-libs/libnotify
+"
+RDEPEND="${DEPEND}
+ acct-user/geoclue
+ sys-apps/dbus
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ gtk-doc? (
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/gtk-doc-1 )
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ default
+ use vala && vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dlibgeoclue=true
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ $(meson_use gtk-doc)
+ $(meson_use modemmanager 3g-source)
+ $(meson_use modemmanager cdma-source)
+ $(meson_use modemmanager modem-gps-source)
+ $(meson_use zeroconf nmea-source)
+ -Dcompass=true
+ -Denable-backend=true
+ -Ddemo-agent=true
+ -Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)"
+ -Ddbus-srv-user=geoclue
+
+ -Dmozilla-api-key=1f26b12b-b629-4c4d-aa39-37b5d0cc957d
+ )
+
+ DISTRO="$(awk -F= '/^NAME/ {print $2}' /etc/os-release | tr -d \" )"
+ if [[ $DISTRO != Redcore ]]; then
+ eerror "The following API key has been allocated for Redcore Linux only."
+ die "Please request an API key for your distribution."
+ fi
+
+ meson_src_configure
+}
diff --git a/metadata/md5-cache/app-misc/geoclue-2.7.0-r5 b/metadata/md5-cache/app-misc/geoclue-2.7.0-r5
new file mode 100644
index 00000000..bd9fbf61
--- /dev/null
+++ b/metadata/md5-cache/app-misc/geoclue-2.7.0-r5
@@ -0,0 +1,17 @@
+BDEPEND=|| ( >=dev-lang/python-3.11.1-r1:3.11[xml(+)] >=dev-lang/python-3.10.9-r1:3.10[xml(+)] >=dev-lang/python-3.9.16-r1:3.9[xml(+)] ) dev-util/gdbus-codegen dev-util/glib-utils gtk-doc? ( app-text/docbook-xml-dtd:4.1.2 >=dev-util/gtk-doc-1 ) >=sys-devel/gettext-0.19.8 virtual/pkgconfig vala? ( || ( dev-lang/vala:0.56 ) ) >=dev-util/meson-0.62.2 >=dev-util/ninja-1.8.2 dev-util/meson-format-array virtual/pkgconfig
+DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test
+DEPEND=>=dev-libs/glib-2.44:2 >=dev-libs/json-glib-0.14.0 >=net-libs/libsoup-3.0.0:3.0 introspection? ( >=dev-libs/gobject-introspection-1.54:= ) modemmanager? ( >=net-misc/modemmanager-1.6 ) zeroconf? ( >=net-dns/avahi-0.6.10[dbus] ) x11-libs/libnotify
+DESCRIPTION=A location information D-Bus service
+EAPI=8
+HOMEPAGE=https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home
+IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
+INHERIT=meson python-any-r1 systemd vala xdg
+IUSE=+introspection gtk-doc modemmanager vala zeroconf
+KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86
+LICENSE=LGPL-2.1+ GPL-2+
+RDEPEND=>=dev-libs/glib-2.44:2 >=dev-libs/json-glib-0.14.0 >=net-libs/libsoup-3.0.0:3.0 introspection? ( >=dev-libs/gobject-introspection-1.54:= ) modemmanager? ( >=net-misc/modemmanager-1.6 ) zeroconf? ( >=net-dns/avahi-0.6.10[dbus] ) x11-libs/libnotify acct-user/geoclue sys-apps/dbus
+REQUIRED_USE=vala? ( introspection )
+SLOT=2.0
+SRC_URI=https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/2.7.0/geoclue-2.7.0.tar.bz2
+_eclasses_=meson 1994a5aef5d4f5798b92f64d6f9a6003 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 38c85b725d0467e51954ea921b6c104b python-any-r1 d2955aaac8daaaa69fcc6dc93ed19f29 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 systemd 5f4bb0758df2e483babf68cd517078ca toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b vala 2633382950a3a9ce912c9258150d5db8 xdg 6024fbc93167fad782e2032933654857 xdg-utils ac0e315a3688929e34ac75b139e7349a
+_md5_=a7de284bac801a0b82413e3f52202f53
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 07980c35..bb9f08cf 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -7,6 +7,7 @@ app-backup/timeshift 22.11.1-r1: A system restore utility for Linux
app-emulation/steam 1.0.0.71-r2: Digital distribution client bootstrap package
app-emulation/virtualbox-modules 7.0.6: Kernel Modules for Virtualbox
app-misc/calamares-config-redcore 1.314.1337-r3: Redcore Linux Calamares modules config
+app-misc/geoclue 2.7.0-r5: A location information D-Bus service
app-misc/redcore-live 1.314.1337: Redcore Linux live scripts
app-misc/redcore-skel 1.314.1337-r1: Redcore Linux skel tree
app-portage/sisyphus 5.2301.1-r3 5.2302.0: A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)