commit:     719aed5141dfc465c8558c17cfc9621cc5706406
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 20:59:53 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 21:34:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719aed51

app-editors/ghex: Version bump to 42.1

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-editors/ghex/Manifest         |  1 +
 app-editors/ghex/ghex-42.1.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-editors/ghex/Manifest b/app-editors/ghex/Manifest
index 9a3ff84f41a7..9e5a2b3007ba 100644
--- a/app-editors/ghex/Manifest
+++ b/app-editors/ghex/Manifest
@@ -1,2 +1,3 @@
 DIST ghex-3.41.1.tar.xz 1499804 BLAKE2B 
dd75dc1cc5d847ae3b932ed0bb98b8e15f44943f76f0ba9f053c6770d05e31d211c9f75a910c93c09cf2de143db8fa0eda4fdb876a0ea3ed0534650e7ac36a65
 SHA512 
5eccf81c41f5ae56bfe5eab0fb843db0095c75080e7dfc0b19a4c71f40f89931e1cbcd2c58744a6b249d16e2a2e4f96513aaac4c41f46d3b5ae8b2bc851851a0
 DIST ghex-42.0.tar.xz 1007772 BLAKE2B 
db85755e22470f345fcd926e26addcb3ea71c90bc0d71fb5f02ad71e875b3b0100856e4365f950a4040f266c1826be992e6a7a23e32ddebbf9ccdfce88e45f46
 SHA512 
20eb8b876e65e3a63b2bf5bcb7258f4c196380395805e7aa374a4dba79e8e0356507b7dad660cdfd49490cb9832863e84dfcfa74dd680f05d34742a3c23f6108
+DIST ghex-42.1.tar.xz 1002984 BLAKE2B 
c526536c9e2a1b115a2af591ebf4a044950411ec6000c3d5a6e662813219d060ac0a0bd34549c76c9663c82c9ae3777b99e92e810de07e71905c524c37a76355
 SHA512 
7dc6ef8fc84b53e82367794ad4684232bb492fd8ae9320db499fb5d2ff5e15f23ae5e4839b91c0828ea74ec81d7bdc30383f3087e3165bc67761eaafa03efd61

diff --git a/app-editors/ghex/ghex-42.1.ebuild 
b/app-editors/ghex/ghex-42.1.ebuild
new file mode 100644
index 000000000000..b9a8b8490096
--- /dev/null
+++ b/app-editors/ghex/ghex-42.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 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://wiki.gnome.org/Apps/Ghex";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git";
+       SRC_URI=""
+else
+       KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2+ FDL-1.1+"
+IUSE="gtk-doc test"
+RESTRICT="!test? ( test )"
+SLOT="4"
+
+RDEPEND="
+       >=dev-libs/glib-2.66.0:2
+       >=gui-libs/gtk-4.0.0:4
+       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/
+               -Dintrospection=enabled
+               $(meson_use gtk-doc gtk_doc)
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to