From df1a27454c2b4b8bc5d3bf8ab79229085d578fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Thu, 12 Nov 2020 01:34:34 +0100 Subject: [PATCH] app-editors/rehex: new pkg; add version 0.3.0 and 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Maciej Barć --- app-editors/rehex/Manifest | 1 + app-editors/rehex/metadata.xml | 11 +++++++ app-editors/rehex/rehex-0.3.0.ebuild | 47 ++++++++++++++++++++++++++++ app-editors/rehex/rehex-9999.ebuild | 47 ++++++++++++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 app-editors/rehex/Manifest create mode 100644 app-editors/rehex/metadata.xml create mode 100644 app-editors/rehex/rehex-0.3.0.ebuild create mode 100644 app-editors/rehex/rehex-9999.ebuild diff --git a/app-editors/rehex/Manifest b/app-editors/rehex/Manifest new file mode 100644 index 0000000..3674a86 --- /dev/null +++ b/app-editors/rehex/Manifest @@ -0,0 +1 @@ +DIST rehex-0.3.0.tar.gz 2658263 BLAKE2B cd46ca89ed2c8c5c47e0e88f8342749634d172a4a8d1ce45f7f94049601f53f9a95d0724c6da6e9e05718daf8ca17ff859f396ff67d922bbcb1a5618d8c63b49 SHA512 f3f580b32e23280a4033c49ac5ba5d09ebcc7de305af4553a745dd53c015e92601d7018f9e07127298051f3435f1e90c21bdf3ba23809a2f90c4995e0a6d0fab diff --git a/app-editors/rehex/metadata.xml b/app-editors/rehex/metadata.xml new file mode 100644 index 0000000..1bde175 --- /dev/null +++ b/app-editors/rehex/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + solemnwarning/rehex + + diff --git a/app-editors/rehex/rehex-0.3.0.ebuild b/app-editors/rehex/rehex-0.3.0.ebuild new file mode 100644 index 0000000..13e9bed --- /dev/null +++ b/app-editors/rehex/rehex-0.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" + +inherit wxwidgets xdg + +DESCRIPTION="Reverse Engineers' Hex Editor" +HOMEPAGE="https://github.com/solemnwarning/rehex" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/solemnwarning/${PN}.git" +else + SRC_URI="https://github.com/solemnwarning/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT=" + mirror + !test? ( test ) +" +LICENSE="GPL-2" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-libs/capstone + dev-libs/jansson + x11-libs/wxGTK:${WX_GTK_VER}[X] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-cpp/gtest + ) +" + +src_configure() { + setup-wxwidgets +} + +src_install() { + emake prefix="${D}"/usr install +} diff --git a/app-editors/rehex/rehex-9999.ebuild b/app-editors/rehex/rehex-9999.ebuild new file mode 100644 index 0000000..13e9bed --- /dev/null +++ b/app-editors/rehex/rehex-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" + +inherit wxwidgets xdg + +DESCRIPTION="Reverse Engineers' Hex Editor" +HOMEPAGE="https://github.com/solemnwarning/rehex" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/solemnwarning/${PN}.git" +else + SRC_URI="https://github.com/solemnwarning/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT=" + mirror + !test? ( test ) +" +LICENSE="GPL-2" +SLOT="0" +IUSE="test" + +RDEPEND=" + dev-libs/capstone + dev-libs/jansson + x11-libs/wxGTK:${WX_GTK_VER}[X] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-cpp/gtest + ) +" + +src_configure() { + setup-wxwidgets +} + +src_install() { + emake prefix="${D}"/usr install +}