summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-01-01 17:18:12 +0100
committerDavid Seifert <soap@gentoo.org>2023-01-01 17:18:12 +0100
commit57165dc088d082de6cd65119c9b07b7920f5f7ef (patch)
tree4260f47fdb1f110633d7683f6c647458aa13ccfa /dev-vcs/gitg
parentmedia-video/peek: update EAPI 7 -> 8 (diff)
downloadgentoo-57165dc088d082de6cd65119c9b07b7920f5f7ef.tar.gz
gentoo-57165dc088d082de6cd65119c9b07b7920f5f7ef.tar.bz2
gentoo-57165dc088d082de6cd65119c9b07b7920f5f7ef.zip
dev-vcs/gitg: update EAPI 7 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-vcs/gitg')
-rw-r--r--dev-vcs/gitg/gitg-41-r1.ebuild (renamed from dev-vcs/gitg/gitg-41.ebuild)26
1 files changed, 12 insertions, 14 deletions
diff --git a/dev-vcs/gitg/gitg-41.ebuild b/dev-vcs/gitg/gitg-41-r1.ebuild
index dfd4809e712b..96fe1764146f 100644
--- a/dev-vcs/gitg/gitg-41.ebuild
+++ b/dev-vcs/gitg/gitg-41-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-PYTHON_COMPAT=( python3_{8..11} )
+EAPI=8
-inherit gnome.org gnome2-utils meson python-r1 vala xdg-utils
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson python-r1 vala xdg
DESCRIPTION="git repository viewer for GNOME"
HOMEPAGE="https://wiki.gnome.org/Apps/Gitg"
@@ -40,20 +40,18 @@ RDEPEND="
)
"
DEPEND="${RDEPEND}
- $(vala_depend)
>=dev-libs/libgit2-glib-1.0.0[vala]
+"
+BDEPEND="
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
+ $(vala_depend)
"
-PATCHES=(
- "${FILESDIR}/${PV}"-fix-build-with-meson-0.61.1.patch
-)
+PATCHES=( "${FILESDIR}"/${PV}-fix-build-with-meson-0.61.1.patch )
src_prepare() {
default
- vala_src_prepare
- xdg_environment_reset
# it doesn't do anything in DESTDIR mode, except for failing
# when python3 symlink is not present
@@ -61,6 +59,8 @@ src_prepare() {
}
src_configure() {
+ vala_setup
+
local emesonargs=(
$(meson_use glade glade_catalog)
# we install the module manually anyway
@@ -81,12 +81,10 @@ src_install() {
pkg_postinst() {
gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
+ xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
+ xdg_pkg_postrm
}