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>
91 lines
1.9 KiB
Bash
91 lines
1.9 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
inherit gnome.org gnome2-utils meson python-r1 vala xdg
|
|
|
|
DESCRIPTION="git repository viewer for GNOME"
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/gitg"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
|
|
IUSE="glade +python"
|
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
|
|
# test if unbundling of libgd is possible
|
|
# Currently it seems not to be (unstable API/ABI)
|
|
RDEPEND="
|
|
app-crypt/gpgme
|
|
app-crypt/libsecret[vala]
|
|
>=app-text/gspell-1[vala]
|
|
>=dev-libs/glib-2.38:2[dbus]
|
|
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
|
dev-libs/json-glib
|
|
dev-libs/libdazzle[vala]
|
|
dev-libs/libgee:0.8[introspection]
|
|
>=dev-libs/libgit2-glib-1.2.0[ssh]
|
|
dev-libs/libgit2:=[threads]
|
|
>=dev-libs/libpeas-1.5.0:0[gtk]
|
|
>=dev-libs/libxml2-2.9.0:2=
|
|
>=gnome-base/gsettings-desktop-schemas-0.1.1
|
|
>=gui-libs/libhandy-1.5.0
|
|
>=x11-libs/gtk+-3.20.0:3
|
|
>=x11-libs/gtksourceview-4.0.3:4
|
|
x11-themes/adwaita-icon-theme
|
|
glade? ( >=dev-util/glade-3.2:3.10 )
|
|
python? (
|
|
${PYTHON_DEPS}
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-libs/libgit2-glib-1.0.0[vala]
|
|
"
|
|
BDEPEND="
|
|
>=sys-devel/gettext-0.19.7
|
|
virtual/pkgconfig
|
|
$(vala_depend)
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# it doesn't do anything in DESTDIR mode, except for failing
|
|
# when python3 symlink is not present
|
|
echo "#!/bin/sh" > meson_post_install.py || die
|
|
}
|
|
|
|
src_configure() {
|
|
vala_setup
|
|
|
|
local emesonargs=(
|
|
$(meson_use glade glade_catalog)
|
|
# we install the module manually anyway
|
|
-Dpython=false
|
|
)
|
|
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
|
|
if use python ; then
|
|
python_moduleinto gi.overrides
|
|
python_foreach_impl python_domodule libgitg-ext/GitgExt.py
|
|
fi
|
|
}
|
|
|
|
pkg_postinst() {
|
|
gnome2_schemas_update
|
|
xdg_pkg_postinst
|
|
}
|
|
|
|
pkg_postrm() {
|
|
gnome2_schemas_update
|
|
xdg_pkg_postrm
|
|
}
|