mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
cutter: remove in gentoo's favour
This commit is contained in:
parent
1d74834fcd
commit
3ce80d640b
4 changed files with 0 additions and 104 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST cutter-1.12.0.tar.gz 2323732 BLAKE2B fb40444b60c19f88dafb9447731b91031ad764359121b835ae03477bf52f17d12d1a0b651059072b6ffb7bf811d4493b3746ab9c48d8f09257b5338130edecbd SHA512 3d8dd9cb6f9e69f41e295795f3d1b7256c071abafd04bdecd619817b8fd04396770f69df753701ffb376a358f0df9bd38dff6a344df4e5ca92163275ad670531
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
# 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://www.radare.org"
|
||||
SRC_URI="https://github.com/radareorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
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"
|
||||
# "${FILESDIR}/${P}-qt-5.15.patch" # https://github.com/radareorg/cutter/pull/2231
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blshkv@pentoo.ch</email>
|
||||
<name>Anton Bolshakov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">radareorg/cutter</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue