commit:     eab841d9dafc3b91997c47a073dbe6f2ee9119d6
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 12 08:54:29 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 12 09:06:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab841d9

app-editors/ghex: add 48.1

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

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

diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
index a81c96d7eb63..c8f7a48dd929 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.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

diff --git a/app-editors/ghex/ghex-48.1.ebuild 
b/app-editors/ghex/ghex-48.1.ebuild
new file mode 100644
index 000000000000..36257249c0e9
--- /dev/null
+++ b/app-editors/ghex/ghex-48.1.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
+       !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