Gentoo Archives: gentoo-commits

From: Jonas Stein <jstein@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ghex/, profiles/
Date: Fri, 24 Dec 2021 01:05:55
Message-Id: 1640307901.75bfdd65710373c4417c73eec9f87351880c1ae4.jstein@gentoo
1 commit: 75bfdd65710373c4417c73eec9f87351880c1ae4
2 Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 00:56:57 2021 +0000
4 Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 01:05:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bfdd65
7
8 app-editors/ghex: add 4.0.0 alpha
9
10 Add 4.0.0 alpha version and mask it.
11 Bug: https://bugs.gentoo.org/829834
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
14
15 app-editors/ghex/Manifest | 1 +
16 app-editors/ghex/ghex-4.0.0_alpha.ebuild | 48 ++++++++++++++++++++++++++++++++
17 profiles/package.mask | 4 +++
18 3 files changed, 53 insertions(+)
19
20 diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
21 index 83a1cc9d0766..c7837ce8e75b 100644
22 --- a/app-editors/ghex/Manifest
23 +++ b/app-editors/ghex/Manifest
24 @@ -1,2 +1,3 @@
25 DIST ghex-3.18.4.tar.xz 1420268 BLAKE2B 70a3027a2c228481ecbc6ae44c0a707c9858453e3af7bfc268b6e32a8496722cf117c1b2ce4dd798795a429dccd24e1fa9cb9d1a8c9c8fb5998243369f76ccc4 SHA512 6121a5986ee7d7f96bf7f401e155f8aa37f076af455bc68e43d1b5b02b63bc9aed3eba5209511d1b659eb4c9093ab5d9601c14a5e868d979e92a6d0ca0cf9ce2
26 DIST ghex-3.41.1.tar.xz 1499804 BLAKE2B dd75dc1cc5d847ae3b932ed0bb98b8e15f44943f76f0ba9f053c6770d05e31d211c9f75a910c93c09cf2de143db8fa0eda4fdb876a0ea3ed0534650e7ac36a65 SHA512 5eccf81c41f5ae56bfe5eab0fb843db0095c75080e7dfc0b19a4c71f40f89931e1cbcd2c58744a6b249d16e2a2e4f96513aaac4c41f46d3b5ae8b2bc851851a0
27 +DIST ghex-4.alpha.1.tar.gz 2165701 BLAKE2B f98758b657f2cc73913bb205439d265e8d8168c91080ca0e064decf277a7e300d9eb82a869951f846a66b5155016f69b0935b2877d24a0482a6b003a821adac2 SHA512 6e7e8d8ff0b981f14f48ed16d3b31ce51a0fb4c978c525cc9f3b2c06114bc1cfaf42e71ea98f1b0d33940a2f6b15a5e053228484259bdc4525bb18f2835b97c8
28
29 diff --git a/app-editors/ghex/ghex-4.0.0_alpha.ebuild b/app-editors/ghex/ghex-4.0.0_alpha.ebuild
30 new file mode 100644
31 index 000000000000..02e8fb9d1908
32 --- /dev/null
33 +++ b/app-editors/ghex/ghex-4.0.0_alpha.ebuild
34 @@ -0,0 +1,48 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit gnome.org gnome2-utils meson xdg
41 +
42 +DESCRIPTION="GNOME hexadecimal editor"
43 +HOMEPAGE="https://wiki.gnome.org/Apps/Ghex"
44 +
45 +if [[ ${PV} == 9999 ]]; then
46 + inherit git-r3
47 + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
48 + SRC_URI=""
49 +else
50 + MY_PV="4.alpha.1"
51 + SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz"
52 + KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
53 + S="${WORKDIR}/${PN}-${MY_PV}"
54 +fi
55 +
56 +LICENSE="GPL-2+ FDL-1.1+"
57 +SLOT="4"
58 +
59 +RDEPEND="
60 + >=dev-libs/atk-1.0.0
61 + >=dev-libs/glib-2.31.10:2
62 + >=x11-libs/gtk+-3.3.8:3
63 + gui-libs/gtk:4
64 +"
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="
67 + dev-libs/appstream-glib
68 + dev-libs/libxml2:2
69 + dev-util/itstool
70 + >=sys-devel/gettext-0.19.8
71 + virtual/pkgconfig
72 +"
73 +
74 +pkg_postinst() {
75 + xdg_pkg_postinst
76 + gnome2_schemas_update
77 +}
78 +
79 +pkg_postrm() {
80 + xdg_pkg_postrm
81 + gnome2_schemas_update
82 +}
83
84 diff --git a/profiles/package.mask b/profiles/package.mask
85 index 3eaf9ed89e20..b9b9cdfc60c8 100644
86 --- a/profiles/package.mask
87 +++ b/profiles/package.mask
88 @@ -33,6 +33,10 @@
89
90 #--- END OF EXAMPLES ---
91
92 +# Jonas Stein <jstein@g.o> (2021-12-24)
93 +# Alpha version
94 +=app-editors/ghex-4.0.0_alpha
95 +
96 # David Seifert <soap@g.o> (2021-12-20)
97 # Requires GCC 8, security vulnerabilities, switch to CUDA 11,
98 # consider using clang+NVPTX backend for sm_30 cards.