Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitg/
Date: Sun, 01 Jan 2023 16:20:10
Message-Id: 1672589892.57165dc088d082de6cd65119c9b07b7920f5f7ef.soap@gentoo
1 commit: 57165dc088d082de6cd65119c9b07b7920f5f7ef
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 1 16:18:12 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 1 16:18:12 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57165dc0
7
8 dev-vcs/gitg: update EAPI 7 -> 8
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 dev-vcs/gitg/{gitg-41.ebuild => gitg-41-r1.ebuild} | 26 ++++++++++------------
13 1 file changed, 12 insertions(+), 14 deletions(-)
14
15 diff --git a/dev-vcs/gitg/gitg-41.ebuild b/dev-vcs/gitg/gitg-41-r1.ebuild
16 similarity index 84%
17 rename from dev-vcs/gitg/gitg-41.ebuild
18 rename to dev-vcs/gitg/gitg-41-r1.ebuild
19 index dfd4809e712b..96fe1764146f 100644
20 --- a/dev-vcs/gitg/gitg-41.ebuild
21 +++ b/dev-vcs/gitg/gitg-41-r1.ebuild
22 @@ -1,10 +1,10 @@
23 -# Copyright 1999-2022 Gentoo Authors
24 +# Copyright 1999-2023 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=7
28 -PYTHON_COMPAT=( python3_{8..11} )
29 +EAPI=8
30
31 -inherit gnome.org gnome2-utils meson python-r1 vala xdg-utils
32 +PYTHON_COMPAT=( python3_{8..11} )
33 +inherit gnome.org gnome2-utils meson python-r1 vala xdg
34
35 DESCRIPTION="git repository viewer for GNOME"
36 HOMEPAGE="https://wiki.gnome.org/Apps/Gitg"
37 @@ -40,20 +40,18 @@ RDEPEND="
38 )
39 "
40 DEPEND="${RDEPEND}
41 - $(vala_depend)
42 >=dev-libs/libgit2-glib-1.0.0[vala]
43 +"
44 +BDEPEND="
45 >=sys-devel/gettext-0.19.7
46 virtual/pkgconfig
47 + $(vala_depend)
48 "
49
50 -PATCHES=(
51 - "${FILESDIR}/${PV}"-fix-build-with-meson-0.61.1.patch
52 -)
53 +PATCHES=( "${FILESDIR}"/${PV}-fix-build-with-meson-0.61.1.patch )
54
55 src_prepare() {
56 default
57 - vala_src_prepare
58 - xdg_environment_reset
59
60 # it doesn't do anything in DESTDIR mode, except for failing
61 # when python3 symlink is not present
62 @@ -61,6 +59,8 @@ src_prepare() {
63 }
64
65 src_configure() {
66 + vala_setup
67 +
68 local emesonargs=(
69 $(meson_use glade glade_catalog)
70 # we install the module manually anyway
71 @@ -81,12 +81,10 @@ src_install() {
72
73 pkg_postinst() {
74 gnome2_schemas_update
75 - xdg_desktop_database_update
76 - xdg_icon_cache_update
77 + xdg_pkg_postinst
78 }
79
80 pkg_postrm() {
81 gnome2_schemas_update
82 - xdg_desktop_database_update
83 - xdg_icon_cache_update
84 + xdg_pkg_postrm
85 }