diff options
Diffstat (limited to 'dev-util/cutter')
-rw-r--r-- | dev-util/cutter/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cutter/cutter-1.12.0.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index be5c1e7ee361..5725fa06e4e3 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1,4 +1,6 @@ AUX cutter-1.10.3-python3-config.patch 1240 BLAKE2B 8b08b4a86f20196f42931ad8a36de42aea662b634c08911e762253303c3efa90fcf6f42582b23e273b5ed0761ef403b15b3270fe3d56506def9d398af2a7335e SHA512 44ee6b1b75b8a0349144ed9094fd5efc42f22415019583392910dfe0aca263d83192558e70b87945ff8c35f2eca988a4b5f45ab9f3f1bf1ad6f793d0510a4c77 DIST cutter-1.11.0.tar.gz 1990964 BLAKE2B b996a3e4c55b3077a8aa54b3df5517d270410ab81f8a111865dc89dc6e61f2712ebd29c10be37a50d9bf143b98916bf48c5df9ed1bfaf936af714d4a12687052 SHA512 a69efee672fb0e142ac6c1fae287c463ec1e777a2ec6b604f412fd0c21b0614d2f05a289beb4602af70d6446f0a6263b353dcbd38d41a6466ae2cdbd14e0bea3 +DIST cutter-1.12.0.tar.gz 2323732 BLAKE2B fb40444b60c19f88dafb9447731b91031ad764359121b835ae03477bf52f17d12d1a0b651059072b6ffb7bf811d4493b3746ab9c48d8f09257b5338130edecbd SHA512 3d8dd9cb6f9e69f41e295795f3d1b7256c071abafd04bdecd619817b8fd04396770f69df753701ffb376a358f0df9bd38dff6a344df4e5ca92163275ad670531 EBUILD cutter-1.11.0.ebuild 1010 BLAKE2B f32a25c06b13e03d1078c4e0ffc246f9eec070122e64d00c374a3953e1af59bd2aa7de296e12c9409e5c26f443fc7f478250624b4f6d915b590c0e0b34b6570c SHA512 538e627e00f896a81b52aa695ca6cfefca46c26561c8a78061554380bf03fe5d56250b1f65d7f571d1df49bd189d6cea5b7900c21c46d95eb5cb8b72c0719dba +EBUILD cutter-1.12.0.ebuild 1005 BLAKE2B 238558e08802b077aa33e8aa5e6f8bd94955e289540379442bbd8b75e6c94e5b75764ccd5aa8c4c3693171fe97dc4a580e35eae31e81431bf4c43bbe4afafeb3 SHA512 bd275d96efb425990c87e5fd44ef47373ec8fdfe512c10cec01801ce29c8b442ec38c4656110ea0c1ba54d3ebe0fa7981f6792b5388723608af5de909419cea4 MISC metadata.xml 451 BLAKE2B 1a4231b3e9d5deb080440e506f8395949488870f5565d44e579f1262efb62ebebd9acbb2293613ecc85853f0a469d322bd06c2aab2ae4a1c0a5e5e5218a3ac36 SHA512 39e84ad70a516e67d6f0491dc78cbb1479713bc2444d2ef751d34a33d26ae4db1a44de553fadaad6b3dce5b9fb1d3e8b7cca1001be25198d24f042ac8441e2d0 diff --git a/dev-util/cutter/cutter-1.12.0.ebuild b/dev-util/cutter/cutter-1.12.0.ebuild new file mode 100644 index 000000000000..3526c69a068d --- /dev/null +++ b/dev-util/cutter/cutter-1.12.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit qmake-utils xdg-utils python-single-r1 + +DESCRIPTION="A Qt and C++ GUI for radare2 reverse engineering framework" +HOMEPAGE="https://cutter.re https://github.com/radareorg/cutter/" +SRC_URI="https://github.com/radareorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ~dev-util/radare2-4.5.1 +" + +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.10.3-python3-config.patch" +) + +src_configure() { + local myqmakeargs=( + CUTTER_ENABLE_PYTHON=true + PREFIX=\'${EPREFIX}/usr\' + ) + + eqmake5 "${myqmakeargs[@]}" src +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |