From 134ca13d4e9c3ff4cf57b58606de02d220db60c1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Jun 2024 20:46:02 +0100 Subject: app-misc/geoclue : update PYTHON_COMPAT --- app-misc/geoclue/geoclue-2.7.1-r5.ebuild | 77 -------------------------------- app-misc/geoclue/geoclue-2.7.1-r6.ebuild | 77 ++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 app-misc/geoclue/geoclue-2.7.1-r5.ebuild create mode 100644 app-misc/geoclue/geoclue-2.7.1-r6.ebuild (limited to 'app-misc') diff --git a/app-misc/geoclue/geoclue-2.7.1-r5.ebuild b/app-misc/geoclue/geoclue-2.7.1-r5.ebuild deleted file mode 100644 index 4b27f13f..00000000 --- a/app-misc/geoclue/geoclue-2.7.1-r5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10..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.68: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/app-misc/geoclue/geoclue-2.7.1-r6.ebuild b/app-misc/geoclue/geoclue-2.7.1-r6.ebuild new file mode 100644 index 00000000..601ac3db --- /dev/null +++ b/app-misc/geoclue/geoclue-2.7.1-r6.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_{10..12} ) +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.68: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 +} -- cgit v1.2.3