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, 28 Apr 2022 15:31:43
Message-Id: 1651159865.872a52ea3eba140756b5a17f808008279cb0f96c.mattst88@gentoo
1 commit: 872a52ea3eba140756b5a17f808008279cb0f96c
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 15:02:46 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 15:31:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872a52ea
7
8 app-editors/ghex: Version bump to 42.2
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 app-editors/ghex/Manifest | 1 +
13 app-editors/ghex/ghex-42.2.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
17 index 9e5a2b3007ba..56207e431ffe 100644
18 --- a/app-editors/ghex/Manifest
19 +++ b/app-editors/ghex/Manifest
20 @@ -1,3 +1,4 @@
21 DIST ghex-3.41.1.tar.xz 1499804 BLAKE2B dd75dc1cc5d847ae3b932ed0bb98b8e15f44943f76f0ba9f053c6770d05e31d211c9f75a910c93c09cf2de143db8fa0eda4fdb876a0ea3ed0534650e7ac36a65 SHA512 5eccf81c41f5ae56bfe5eab0fb843db0095c75080e7dfc0b19a4c71f40f89931e1cbcd2c58744a6b249d16e2a2e4f96513aaac4c41f46d3b5ae8b2bc851851a0
22 DIST ghex-42.0.tar.xz 1007772 BLAKE2B db85755e22470f345fcd926e26addcb3ea71c90bc0d71fb5f02ad71e875b3b0100856e4365f950a4040f266c1826be992e6a7a23e32ddebbf9ccdfce88e45f46 SHA512 20eb8b876e65e3a63b2bf5bcb7258f4c196380395805e7aa374a4dba79e8e0356507b7dad660cdfd49490cb9832863e84dfcfa74dd680f05d34742a3c23f6108
23 DIST ghex-42.1.tar.xz 1002984 BLAKE2B c526536c9e2a1b115a2af591ebf4a044950411ec6000c3d5a6e662813219d060ac0a0bd34549c76c9663c82c9ae3777b99e92e810de07e71905c524c37a76355 SHA512 7dc6ef8fc84b53e82367794ad4684232bb492fd8ae9320db499fb5d2ff5e15f23ae5e4839b91c0828ea74ec81d7bdc30383f3087e3165bc67761eaafa03efd61
24 +DIST ghex-42.2.tar.xz 1003120 BLAKE2B db44dbb7c2cb7447dea3dd48a1ad90ee75c6ce5b9c76178550be1f638f63a9748144e8aac7434d526c24c3eddd0c6f7c0178c6976d2a11e32e943127b7f09219 SHA512 d7c64013d894d1803e03b1afc025a3f39fa65d156aaf7885e692b2b10574f320fb329abd8059a9c084c701a655d7708b8f0dec09f8300c8491fc75a66b475bf7
25
26 diff --git a/app-editors/ghex/ghex-42.2.ebuild b/app-editors/ghex/ghex-42.2.ebuild
27 new file mode 100644
28 index 000000000000..b9a8b8490096
29 --- /dev/null
30 +++ b/app-editors/ghex/ghex-42.2.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit gnome.org gnome2-utils meson xdg
38 +
39 +DESCRIPTION="GNOME hexadecimal editor"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Ghex"
41 +
42 +if [[ ${PV} == 9999 ]]; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
45 + SRC_URI=""
46 +else
47 + KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
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/glib-2.66.0:2
57 + >=gui-libs/gtk-4.0.0:4
58 + dev-libs/gobject-introspection
59 + !app-editors/ghex:2
60 +"
61 +DEPEND="${RDEPEND}"
62 +BDEPEND="
63 + gtk-doc? ( dev-util/gi-docgen )
64 + test? (
65 + dev-util/desktop-file-utils
66 + dev-libs/appstream-glib
67 + )
68 + dev-util/gtk-update-icon-cache
69 + dev-util/itstool
70 + >=sys-devel/gettext-0.19.8
71 + virtual/pkgconfig
72 +"
73 +
74 +src_configure() {
75 + local emesonargs=(
76 + -Ddocdir="${EPREFIX}"/usr/share/gtk-doc/
77 + -Dintrospection=enabled
78 + $(meson_use gtk-doc gtk_doc)
79 + )
80 + meson_src_configure
81 +}
82 +
83 +pkg_postinst() {
84 + xdg_pkg_postinst
85 + gnome2_schemas_update
86 +}
87 +
88 +pkg_postrm() {
89 + xdg_pkg_postrm
90 + gnome2_schemas_update
91 +}