commit:     b7acd7b9cba52e28b6a036e1798c5359002a6282
Author:     1vybridge <openrc <AT> posteo <DOT> de>
AuthorDate: Mon Jul 21 12:10:53 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 08:03:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7acd7b9

app-editors/ghex: add 46.3

Signed-off-by: 1vybridge <openrc <AT> posteo.de>
Part-of: https://github.com/gentoo/gentoo/pull/43091
Closes: https://github.com/gentoo/gentoo/pull/43091
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-editors/ghex/Manifest         |  1 +
 app-editors/ghex/ghex-46.3.ebuild | 66 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
index cfb3b1829f48..76e6fb116367 100644
--- a/app-editors/ghex/Manifest
+++ b/app-editors/ghex/Manifest
@@ -1,3 +1,4 @@
 DIST ghex-46.0.tar.xz 920568 BLAKE2B 
fe1608faa58e36d6c6f7aa01044acbfbf21a46547f755b37cf0ad673d7c58c882512c1790c74dde0e7fd18af92d0d9a3fc6c42c687413c5811bf8fc30e937adc
 SHA512 
7f6c26b0644c1a253eef6eded0265ffaf882fb2400d1c4c40e9cefd9291d412b1425452930269d35c110fc88e6cf994f33a0ca9e937a419885f3c1820003220d
 DIST ghex-46.1.tar.xz 920380 BLAKE2B 
b25c2dcd58c5f6f71dfae7fd186847fc72192bde61a677b2a6be15eab4cdf31bb24f82f680d9d53f88d646af9c832c10f31c74142f9361e22237693616e84439
 SHA512 
83a61819b5ab7319dc160c7c948769a20c516f9ae3946f533ea0f6bb4169d1f0867a2c79441ed50bbd223745efb3c2ab8b9ffaac372b7777be97ef36e331585b
 DIST ghex-46.2.tar.xz 920680 BLAKE2B 
19225934ffcab99cfd171083f5df0c9b7d5578e1bafc90aa311070ec4b7b757ec637da44bfabb93f10143e0c8a6dfc309de42066faff78a81f3cc2a7b94962ae
 SHA512 
4130d115c5f644582af03917a0b2eacdb6fd989709f3f5e6676b85c698f2989dc8bdd7f971a348d54836d2609c7bee935868933edaadcdd4fdfa19ba874dbbdc
+DIST ghex-46.3.tar.xz 922460 BLAKE2B 
37cdecd3b0fa8669a0781a6f2ead9b9413f10a098361867e9f25400baff19edef64d213ac779bd07f4b3e9acf0f0402b49a3f5669725a32294a275125626d05a
 SHA512 
b740b8fdf86c1b6c7f23516c70e50bdc50ff4b949168ecd04c8eaf3336fed472158c0121c93a03c0947ac2ae5c5e25c1db33ac66e439da5a69303c1522b9112d

diff --git a/app-editors/ghex/ghex-46.3.ebuild 
b/app-editors/ghex/ghex-46.3.ebuild
new file mode 100644
index 000000000000..c2121de2a7f6
--- /dev/null
+++ b/app-editors/ghex/ghex-46.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="GNOME hexadecimal editor"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/ghex";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git";
+       SRC_URI=""
+else
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+fi
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="4"
+IUSE="gtk-doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.68.0:2
+       >=gui-libs/gtk-4.4.0:4
+       >=gui-libs/libadwaita-1.2:1
+       dev-libs/gobject-introspection
+       !app-editors/ghex:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       gtk-doc? ( dev-util/gi-docgen )
+       test? (
+               dev-util/desktop-file-utils
+               dev-libs/appstream-glib
+       )
+       dev-util/gtk-update-icon-cache
+       dev-util/itstool
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               -Ddocdir="${EPREFIX}"/usr/share/gtk-doc/
+               -Ddevelopment=false
+               -Dmmap-buffer-backend=true
+               -Ddirect-buffer-backend=true
+               -Dintrospection=enabled
+               $(meson_use gtk-doc gtk_doc)
+               -Dstatic-html-help=false
+               -Dvapi=false
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to