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/
Date: Fri, 24 Dec 2021 00:54:00
Message-Id: 1640307111.a1eafdab29fe35e1a1575efaf8eb377db075b659.jstein@gentoo
1 commit: a1eafdab29fe35e1a1575efaf8eb377db075b659
2 Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 00:51:51 2021 +0000
4 Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 00:51:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1eafdab
7
8 app-editors/ghex: add live ebuild
9
10 Add a live ebuild for our users who support upstream during the
11 transition.
12 Bug: https://bugs.gentoo.org/829834
13 Package-Manager: Portage-3.0.30, Repoman-3.0.3
14 Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
15
16 app-editors/ghex/ghex-9999.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
17 1 file changed, 48 insertions(+)
18
19 diff --git a/app-editors/ghex/ghex-9999.ebuild b/app-editors/ghex/ghex-9999.ebuild
20 new file mode 100644
21 index 000000000000..02e8fb9d1908
22 --- /dev/null
23 +++ b/app-editors/ghex/ghex-9999.ebuild
24 @@ -0,0 +1,48 @@
25 +# Copyright 1999-2021 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=8
29 +
30 +inherit gnome.org gnome2-utils meson xdg
31 +
32 +DESCRIPTION="GNOME hexadecimal editor"
33 +HOMEPAGE="https://wiki.gnome.org/Apps/Ghex"
34 +
35 +if [[ ${PV} == 9999 ]]; then
36 + inherit git-r3
37 + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
38 + SRC_URI=""
39 +else
40 + MY_PV="4.alpha.1"
41 + SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz"
42 + KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
43 + S="${WORKDIR}/${PN}-${MY_PV}"
44 +fi
45 +
46 +LICENSE="GPL-2+ FDL-1.1+"
47 +SLOT="4"
48 +
49 +RDEPEND="
50 + >=dev-libs/atk-1.0.0
51 + >=dev-libs/glib-2.31.10:2
52 + >=x11-libs/gtk+-3.3.8:3
53 + gui-libs/gtk:4
54 +"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="
57 + dev-libs/appstream-glib
58 + dev-libs/libxml2:2
59 + dev-util/itstool
60 + >=sys-devel/gettext-0.19.8
61 + virtual/pkgconfig
62 +"
63 +
64 +pkg_postinst() {
65 + xdg_pkg_postinst
66 + gnome2_schemas_update
67 +}
68 +
69 +pkg_postrm() {
70 + xdg_pkg_postrm
71 + gnome2_schemas_update
72 +}