diff options
-rw-r--r-- | dev-util/cutter/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cutter/cutter-1.12.0.ebuild | 54 | ||||
-rw-r--r-- | dev-util/cutter/files/cutter-1.10.3-python3-config.patch | 36 |
3 files changed, 0 insertions, 91 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 551fe42774db..f6b8451a4f0a 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1,3 +1,2 @@ -DIST cutter-1.12.0.tar.gz 2323732 BLAKE2B fb40444b60c19f88dafb9447731b91031ad764359121b835ae03477bf52f17d12d1a0b651059072b6ffb7bf811d4493b3746ab9c48d8f09257b5338130edecbd SHA512 3d8dd9cb6f9e69f41e295795f3d1b7256c071abafd04bdecd619817b8fd04396770f69df753701ffb376a358f0df9bd38dff6a344df4e5ca92163275ad670531 DIST cutter-2.0.2.tar.gz 2696029 BLAKE2B 9bc101137a1e479e137d9638ffa6892fa1fd7b3393462a305d0c92bd02b0486b1d2d071770be135de9493b23fa563421ac1d25bc890d9b2ed21d302601afb333 SHA512 17ec58fddbbceb4ab06b367f2f795ac0a2d8876c454159f20b7b1c6448bda330445ff922c2dd125ca42b77c729f5c65bafbf1c98eecc29c0bc1081c78f052141 DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2 diff --git a/dev-util/cutter/cutter-1.12.0.ebuild b/dev-util/cutter/cutter-1.12.0.ebuild deleted file mode 100644 index 10a06648756a..000000000000 --- a/dev-util/cutter/cutter-1.12.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -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 -} diff --git a/dev-util/cutter/files/cutter-1.10.3-python3-config.patch b/dev-util/cutter/files/cutter-1.10.3-python3-config.patch deleted file mode 100644 index f024ba26df03..000000000000 --- a/dev-util/cutter/files/cutter-1.10.3-python3-config.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/src/Cutter.pro b/src/Cutter.pro -index 5ea3a78..d99b4a5 100644 ---- a/src/Cutter.pro -+++ b/src/Cutter.pro -@@ -115,10 +115,6 @@ unix { - # Libraries - include(lib_radare2.pri) - --!win32 { -- CONFIG += link_pkgconfig --} -- - CUTTER_ENABLE_PYTHON { - win32 { - PYTHON_EXECUTABLE = $$system("where python", lines) -@@ -135,10 +131,17 @@ CUTTER_ENABLE_PYTHON { - LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python - DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED - } else { -- !packagesExist(python3) { -- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") -+ system(type python3-config) { -+ TMP = $$system(python3-config --libs --embed, true, TMPSTATUS) -+ !equals(TMPSTATUS, 0) { -+ TMP = $$system(python3-config --libs) -+ } -+ LIBS += $$TMP -+ TMP = $$system(python3-config --includes) -+ INCLUDEPATH += $$replace(TMP, "-I", "") -+ } else { -+ error("ERROR: Python 3 could not be found. Make sure it is available to python3-config.") - } -- PKGCONFIG += python3 - } - } - |