diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-13 13:15:29 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-13 13:15:29 +0300 |
commit | 416e09b98666ce66766d95ce1a63cd6ee3d7ad7b (patch) | |
tree | 540b0613d143fb6188646b61962969382d207aaf /app-misc/geoclue/geoclue-2.6.0-r10.ebuild | |
parent | bde7f4b8a77784c022fa504e221557266296479c (diff) |
app-misc/geoclue : import from Gentoo
Diffstat (limited to 'app-misc/geoclue/geoclue-2.6.0-r10.ebuild')
-rw-r--r-- | app-misc/geoclue/geoclue-2.6.0-r10.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/app-misc/geoclue/geoclue-2.6.0-r10.ebuild b/app-misc/geoclue/geoclue-2.6.0-r10.ebuild new file mode 100644 index 00000000..e7adb942 --- /dev/null +++ b/app-misc/geoclue/geoclue-2.6.0-r10.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) +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 ~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-2.42.0:2.4 + 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=f57afde7-113f-4e8f-96d1-62be64a0273c + ) + + meson_src_configure +} |