mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
app-misc/geoclue: drop 2.7.1
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
parent
9592c15f7d
commit
53939c2119
@ -1,3 +1,2 @@
|
|||||||
DIST geoclue-2.7.1.tar.bz2 106458 BLAKE2B a2fc44d4941936d8dcd495d77d11b0d948d7031ca048b97ff0940c7fcdd37ba604655f2e255c5e0dd5cc7a82a2d5a15b18aab4825b2446560e225c13df6da3b8 SHA512 972663a6f8c969d0e1a5f911af2b8afed486d5c0ba06dadc19bcfbe1ea22cef10243b2bd0084e5c45b70977cfa5650c8f15f760e4bc4e7dbd946745b67c9188b
|
|
||||||
DIST geoclue-2.7.2.tar.bz2 108472 BLAKE2B 7fdb7a2d844079df005c2a665131a5541e667367de9a95b6bb9a930f0063e194f98cb69bd4a668f81c8e6ce9cf86e25229fd0d6ef9c25406995052024466076c SHA512 2300fca3c088f1bef29ecf1b5c82f6e91fcf886f3aa9ce1e53054e0c430fb3fc810ae8f580469a7975942c5a4852c75bac123a58c7c389d0ef116dc324d6463c
|
DIST geoclue-2.7.2.tar.bz2 108472 BLAKE2B 7fdb7a2d844079df005c2a665131a5541e667367de9a95b6bb9a930f0063e194f98cb69bd4a668f81c8e6ce9cf86e25229fd0d6ef9c25406995052024466076c SHA512 2300fca3c088f1bef29ecf1b5c82f6e91fcf886f3aa9ce1e53054e0c430fb3fc810ae8f580469a7975942c5a4852c75bac123a58c7c389d0ef116dc324d6463c
|
||||||
DIST geoclue-2.8.0.tar.bz2 112944 BLAKE2B 93c30c7df4670768234b0754fa9f3fee3b8942853897b9da006e57d46d72c646f886321ebd16b758726baa87f419d1169d68d3ead025095e2c87d5f0ca8b0593 SHA512 cfcb42879545f5cf0f90acd222df8ca480e844352bf9fd6526d4531557f7922d8f4d34bb558a24497b8d307406bae8a81aa5dbe423da24fb405edeaef17f12fe
|
DIST geoclue-2.8.0.tar.bz2 112944 BLAKE2B 93c30c7df4670768234b0754fa9f3fee3b8942853897b9da006e57d46d72c646f886321ebd16b758726baa87f419d1169d68d3ead025095e2c87d5f0ca8b0593 SHA512 cfcb42879545f5cf0f90acd222df8ca480e844352bf9fd6526d4531557f7922d8f4d34bb558a24497b8d307406bae8a81aa5dbe423da24fb405edeaef17f12fe
|
||||||
|
|||||||
@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..13} )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
inherit meson python-any-r1 systemd vala xdg
|
|
||||||
|
|
||||||
DESCRIPTION="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 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
|
||||||
IUSE="+introspection gtk-doc modemmanager vala zeroconf"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-libs/glib-2.68:2
|
|
||||||
>=dev-libs/json-glib-0.14.0
|
|
||||||
>=net-libs/libsoup-3.0.0:3.0
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
|
|
||||||
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=f57afde7-113f-4e8f-96d1-62be64a0273c
|
|
||||||
)
|
|
||||||
|
|
||||||
DISTRO="$(awk -F= '/^NAME/ {print $2}' /etc/os-release | tr -d \" )"
|
|
||||||
if [[ $DISTRO != Gentoo ]]; then
|
|
||||||
eerror "The following API key has been allocated for Gentoo only."
|
|
||||||
eerror "If you are a derivative, please request your own key as discussed here:"
|
|
||||||
eerror "https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/136"
|
|
||||||
eerror "See also: https://location.services.mozilla.com/api and"
|
|
||||||
eerror "https://blog.mozilla.org/services/2019/09/03/a-new-policy-for-mozilla-location-service/"
|
|
||||||
die "Please request an API key for your distribution."
|
|
||||||
fi
|
|
||||||
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user