mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-11 00:07:51 +03:00
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i
+ manually going over to undo the false positives or if the version
requirement was higher.
Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389808700bd0f4343ee04888f0ef179d2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
66 lines
1.7 KiB
Bash
66 lines
1.7 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit gnome.org gnome2-utils meson vala xdg
|
|
|
|
DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol"
|
|
HOMEPAGE="https://wiki.gnome.org/Projects/libgdata"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0/22" # subslot = libgdata soname version
|
|
|
|
IUSE="+crypt gnome-online-accounts gtk-doc +introspection test vala"
|
|
REQUIRED_USE="vala? ( introspection )"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
|
|
|
|
RDEPEND="
|
|
>=dev-libs/glib-2.44.0:2
|
|
>=dev-libs/json-glib-0.15[introspection?]
|
|
>=dev-libs/libxml2-2:2=
|
|
>=net-libs/libsoup-2.55.90:2.4[introspection?,vala?]
|
|
crypt? ( app-crypt/gcr:0= )
|
|
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:=[introspection?,vala?] )
|
|
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-util/glib-utils
|
|
gtk-doc? ( >=dev-util/gtk-doc-1.25
|
|
app-text/docbook-xml-dtd:4.3 )
|
|
>=sys-devel/gettext-0.19.8
|
|
virtual/pkgconfig
|
|
test? (
|
|
>=net-libs/uhttpmock-0.5.0:0
|
|
>=x11-libs/gdk-pixbuf-2.14:2
|
|
)
|
|
vala? ( $(vala_depend) )
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
use vala && vala_src_prepare
|
|
gnome2_environment_reset
|
|
# Don't waste time building a couple small demos that aren't installed
|
|
sed -i -e '/subdir.*demos/d' meson.build || die
|
|
}
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-Dgtk=disabled # only for demos
|
|
$(meson_feature crypt gnome)
|
|
$(meson_feature gnome-online-accounts goa)
|
|
-Doauth1=disabled
|
|
$(meson_use test always_build_tests)
|
|
-Dinstalled_tests=false
|
|
-Dman=true
|
|
$(meson_use gtk-doc gtk_doc)
|
|
$(meson_use introspection)
|
|
$(meson_use vala vapi)
|
|
)
|
|
meson_src_configure
|
|
}
|