commit:     57165dc088d082de6cd65119c9b07b7920f5f7ef
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 16:18:12 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 16:18:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57165dc0

dev-vcs/gitg: update EAPI 7 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-vcs/gitg/{gitg-41.ebuild => gitg-41-r1.ebuild} | 26 ++++++++++------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/dev-vcs/gitg/gitg-41.ebuild b/dev-vcs/gitg/gitg-41-r1.ebuild
similarity index 84%
rename from dev-vcs/gitg/gitg-41.ebuild
rename to 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
 }

Reply via email to