commit:     3d965ae0e539c3b3e8ce5abc170f7acc364082c7
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 15:48:41 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 16:01:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d965ae0

app-editors/ghex: add 48.3

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

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

diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
index 864e6b573a5a..d12c811d4375 100644
--- a/app-editors/ghex/Manifest
+++ b/app-editors/ghex/Manifest
@@ -1,3 +1,4 @@
 DIST ghex-46.2.tar.xz 920680 BLAKE2B 
19225934ffcab99cfd171083f5df0c9b7d5578e1bafc90aa311070ec4b7b757ec637da44bfabb93f10143e0c8a6dfc309de42066faff78a81f3cc2a7b94962ae
 SHA512 
4130d115c5f644582af03917a0b2eacdb6fd989709f3f5e6676b85c698f2989dc8bdd7f971a348d54836d2609c7bee935868933edaadcdd4fdfa19ba874dbbdc
 DIST ghex-46.3.tar.xz 922460 BLAKE2B 
37cdecd3b0fa8669a0781a6f2ead9b9413f10a098361867e9f25400baff19edef64d213ac779bd07f4b3e9acf0f0402b49a3f5669725a32294a275125626d05a
 SHA512 
b740b8fdf86c1b6c7f23516c70e50bdc50ff4b949168ecd04c8eaf3336fed472158c0121c93a03c0947ac2ae5c5e25c1db33ac66e439da5a69303c1522b9112d
 DIST ghex-48.1.tar.xz 943040 BLAKE2B 
5e5b7dbeee09ee5fe3a0b527c1254ebde95dbdca159bb0b0ba76d337af2da1d03a6d5f94f70bd5a2b85f50005c6460aeb7ff0ab5735d284039ac9be514d78b79
 SHA512 
e916c7d1bfb66a604abef331a605e404583b9e375f7f21ec23c901062f4d5fbee6c90d36825e02878c5c1d3a6e15cc117dcc80c7675455ee8a407ec7f33a8bc1
+DIST ghex-48.3.tar.xz 943140 BLAKE2B 
0da42b47fd0f2e0c8bf377d44ea7c0f2ce794f38664460d62348a92f169223179a47a6d9d50282a7c5dab11ab01e77ef60cd1f588190245d62e6f329d5306474
 SHA512 
8159eec716868f8c66c9a0a136c34dbadaa4552f59add6fe47e0606e3cf3dc9d53c1607702dbdd91444b6f4540ce862da3acc1d69231820282719991fa86d5bf

diff --git a/app-editors/ghex/ghex-48.3.ebuild 
b/app-editors/ghex/ghex-48.3.ebuild
new file mode 100644
index 000000000000..c9d6cf987224
--- /dev/null
+++ b/app-editors/ghex/ghex-48.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.17.5:4
+       >=gui-libs/libadwaita-1.7:1
+       >=dev-libs/gobject-introspection-1.82.0-r2
+       !app-editors/ghex:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       gtk-doc? ( dev-util/gi-docgen )
+       test? (
+               dev-util/desktop-file-utils
+               dev-libs/appstream
+       )
+       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