app-misc/geoclue: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2022-07-20 21:34:35 -04:00
parent 6a7928760c
commit b7ff05a77c
3 changed files with 0 additions and 124 deletions

View File

@@ -1,2 +1 @@
DIST geoclue-2.5.7.tar.bz2 85764 BLAKE2B bf0a6e312b7a303ed2cfc33f02cfad0e68e44f60899a327c9eba12f4967d2a3a5922a475f8fefb6f47da328c92dc75706504b41bc2dcd21db3fc5da7c2a50180 SHA512 16ec15afa41910b7d993a9918dd3c068dea3f6c5be922b7ac772493cd6aabb0cad3fe2206b82c1a008781c3f1ddd8f4afd8f70b5d497920bea8ed5e473f0fd1f
DIST geoclue-2.6.0.tar.bz2 94890 BLAKE2B d579752482e77e6ec6df3cb34f6b1c7ca61ea425f1c29195f1bcd031afe22644aed2f5b3f75e82c20e0e3cf0d415ca858b30351b2ee3835fff0ca25e63fc6395 SHA512 13205ab88cbd9748c155081318ae1909fddedce4250e3ece39a9f379b8cfea91dfe571961e278406ba54f8efd3a1070967479feb8256f50170112b28246b3103

View File

@@ -1,52 +0,0 @@
From 3598b8b9c1a6ef4a31e2c179a6be3e3a69cce357 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sun, 7 Jul 2019 15:57:03 +0300
Subject: [PATCH] meson: Make vapi generation optional and remove explicit
vapigen check
meson gnome.generate_vapi properly handles VAPIGEN and other vala
environment variables. It is counter-productive to check for an
unversioned vapigen, as that breaks versioned VAPIGEN usages.
---
libgeoclue/meson.build | 3 +--
meson_options.txt | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libgeoclue/meson.build b/libgeoclue/meson.build
index e228ec3..d053bc1 100644
--- a/libgeoclue/meson.build
+++ b/libgeoclue/meson.build
@@ -58,7 +58,6 @@ libgeoclue_dep = declare_dependency(link_with: libgeoclue,
sources: [ libgeoclue_sources, libgeoclue_headers ])
gir = find_program('g-ir-scanner', required: false)
-vapigen = find_program('vapigen', required: false)
enable_gir = get_option('introspection')
pkg_requirements = ['glib-2.0', 'gio-2.0', 'gio-unix-2.0']
gir_sources = [ libgeoclue_sources,
@@ -78,7 +77,7 @@ if gir.found() and enable_gir
install: true,
header: 'geoclue.h',
extra_args: [ '--quiet' ])
- if vapigen.found()
+ if get_option('vapi')
gnome.generate_vapi('libgeoclue-' + gclue_api_version,
sources: geo_gir[0],
packages: pkg_requirements,
diff --git a/meson_options.txt b/meson_options.txt
index 83bc60e..3a832d5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,6 +4,9 @@ option('libgeoclue',
option('introspection',
type: 'boolean', value: true,
description: 'Enable convenience library introspection generation')
+option('vapi',
+ type: 'boolean', value: true,
+ description: 'Generate vapi data for convenience library (requires vapigen and introspection)')
option('gtk-doc',
type: 'boolean', value: true,
description: 'Whether to generate the API reference for Geocode-GLib')
--
2.20.1

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
PYTHON_REQ_USE="xml(+)"
VALA_USE_DEPEND="vapigen"
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) )
"
PATCHES=(
"${FILESDIR}"/2.5.3-optional-vapi.patch
)
src_prepare() {
xdg_src_prepare
use vala && vala_src_prepare
}
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)
-Denable-backend=true
-Ddemo-agent=true
-Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)"
-Ddbus-srv-user=geoclue
)
meson_src_configure
}