Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ghex/
Date: Thu, 07 Apr 2022 04:42:23
Message-Id: 1649306518.5af4d07b53507b8ab36970f2d5f2c1941656b758.mattst88@gentoo
1 commit: 5af4d07b53507b8ab36970f2d5f2c1941656b758
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 7 04:08:22 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 7 04:41:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af4d07b
7
8 app-editors/ghex: Version bump to 42.0
9
10 Closes: https://bugs.gentoo.org/689922
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 app-editors/ghex/Manifest | 1 +
14 .../ghex/{ghex-9999.ebuild => ghex-42.0.ebuild} | 31 +++++++++++++++-------
15 app-editors/ghex/ghex-9999.ebuild | 31 +++++++++++++++-------
16 3 files changed, 43 insertions(+), 20 deletions(-)
17
18 diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
19 index da21afe0f03f..cf2a16887247 100644
20 --- a/app-editors/ghex/Manifest
21 +++ b/app-editors/ghex/Manifest
22 @@ -1,2 +1,3 @@
23 DIST ghex-3.41.1.tar.xz 1499804 BLAKE2B dd75dc1cc5d847ae3b932ed0bb98b8e15f44943f76f0ba9f053c6770d05e31d211c9f75a910c93c09cf2de143db8fa0eda4fdb876a0ea3ed0534650e7ac36a65 SHA512 5eccf81c41f5ae56bfe5eab0fb843db0095c75080e7dfc0b19a4c71f40f89931e1cbcd2c58744a6b249d16e2a2e4f96513aaac4c41f46d3b5ae8b2bc851851a0
24 DIST ghex-4.alpha.1.tar.gz 2165701 BLAKE2B f98758b657f2cc73913bb205439d265e8d8168c91080ca0e064decf277a7e300d9eb82a869951f846a66b5155016f69b0935b2877d24a0482a6b003a821adac2 SHA512 6e7e8d8ff0b981f14f48ed16d3b31ce51a0fb4c978c525cc9f3b2c06114bc1cfaf42e71ea98f1b0d33940a2f6b15a5e053228484259bdc4525bb18f2835b97c8
25 +DIST ghex-42.0.tar.xz 1007772 BLAKE2B db85755e22470f345fcd926e26addcb3ea71c90bc0d71fb5f02ad71e875b3b0100856e4365f950a4040f266c1826be992e6a7a23e32ddebbf9ccdfce88e45f46 SHA512 20eb8b876e65e3a63b2bf5bcb7258f4c196380395805e7aa374a4dba79e8e0356507b7dad660cdfd49490cb9832863e84dfcfa74dd680f05d34742a3c23f6108
26
27 diff --git a/app-editors/ghex/ghex-9999.ebuild b/app-editors/ghex/ghex-42.0.ebuild
28 similarity index 58%
29 copy from app-editors/ghex/ghex-9999.ebuild
30 copy to app-editors/ghex/ghex-42.0.ebuild
31 index 02e8fb9d1908..5c851aeff170 100644
32 --- a/app-editors/ghex/ghex-9999.ebuild
33 +++ b/app-editors/ghex/ghex-42.0.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 +# Copyright 1999-2022 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=8
40 @@ -13,30 +13,41 @@ if [[ ${PV} == 9999 ]]; then
41 EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
42 SRC_URI=""
43 else
44 - MY_PV="4.alpha.1"
45 - SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz"
46 KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
47 - S="${WORKDIR}/${PN}-${MY_PV}"
48 fi
49
50 LICENSE="GPL-2+ FDL-1.1+"
51 +IUSE="gtk-doc test"
52 +RESTRICT="!test? ( test )"
53 SLOT="4"
54
55 RDEPEND="
56 - >=dev-libs/atk-1.0.0
57 - >=dev-libs/glib-2.31.10:2
58 - >=x11-libs/gtk+-3.3.8:3
59 - gui-libs/gtk:4
60 + >=dev-libs/glib-2.66.0:2
61 + >=gui-libs/gtk-4.0.0:4
62 + dev-libs/gobject-introspection
63 "
64 DEPEND="${RDEPEND}"
65 BDEPEND="
66 - dev-libs/appstream-glib
67 - dev-libs/libxml2:2
68 + gtk-doc? ( dev-util/gi-docgen )
69 + test? (
70 + dev-util/desktop-file-utils
71 + dev-libs/appstream-glib
72 + )
73 + dev-util/gtk-update-icon-cache
74 dev-util/itstool
75 >=sys-devel/gettext-0.19.8
76 virtual/pkgconfig
77 "
78
79 +src_configure() {
80 + local emesonargs=(
81 + -Ddocdir="${EPREFIX}"/usr/share/gtk-doc/
82 + -Dintrospection=enabled
83 + $(meson_use gtk-doc gtk_doc)
84 + )
85 + meson_src_configure
86 +}
87 +
88 pkg_postinst() {
89 xdg_pkg_postinst
90 gnome2_schemas_update
91
92 diff --git a/app-editors/ghex/ghex-9999.ebuild b/app-editors/ghex/ghex-9999.ebuild
93 index 02e8fb9d1908..5c851aeff170 100644
94 --- a/app-editors/ghex/ghex-9999.ebuild
95 +++ b/app-editors/ghex/ghex-9999.ebuild
96 @@ -1,4 +1,4 @@
97 -# Copyright 1999-2021 Gentoo Authors
98 +# Copyright 1999-2022 Gentoo Authors
99 # Distributed under the terms of the GNU General Public License v2
100
101 EAPI=8
102 @@ -13,30 +13,41 @@ if [[ ${PV} == 9999 ]]; then
103 EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
104 SRC_URI=""
105 else
106 - MY_PV="4.alpha.1"
107 - SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz"
108 KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
109 - S="${WORKDIR}/${PN}-${MY_PV}"
110 fi
111
112 LICENSE="GPL-2+ FDL-1.1+"
113 +IUSE="gtk-doc test"
114 +RESTRICT="!test? ( test )"
115 SLOT="4"
116
117 RDEPEND="
118 - >=dev-libs/atk-1.0.0
119 - >=dev-libs/glib-2.31.10:2
120 - >=x11-libs/gtk+-3.3.8:3
121 - gui-libs/gtk:4
122 + >=dev-libs/glib-2.66.0:2
123 + >=gui-libs/gtk-4.0.0:4
124 + dev-libs/gobject-introspection
125 "
126 DEPEND="${RDEPEND}"
127 BDEPEND="
128 - dev-libs/appstream-glib
129 - dev-libs/libxml2:2
130 + gtk-doc? ( dev-util/gi-docgen )
131 + test? (
132 + dev-util/desktop-file-utils
133 + dev-libs/appstream-glib
134 + )
135 + dev-util/gtk-update-icon-cache
136 dev-util/itstool
137 >=sys-devel/gettext-0.19.8
138 virtual/pkgconfig
139 "
140
141 +src_configure() {
142 + local emesonargs=(
143 + -Ddocdir="${EPREFIX}"/usr/share/gtk-doc/
144 + -Dintrospection=enabled
145 + $(meson_use gtk-doc gtk_doc)
146 + )
147 + meson_src_configure
148 +}
149 +
150 pkg_postinst() {
151 xdg_pkg_postinst
152 gnome2_schemas_update