mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
cutter: v1.6 bump
This commit is contained in:
parent
ef1b87b21c
commit
3dc3e2f0cd
2 changed files with 54 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST cutter-1.4.tar.gz 1067162 BLAKE2B 2f7eceffcfb3c542695e03ec72de1c99451f8278e91f50abc2e87542efbd2cc73d5a52b0e5303b9cea751edf91bc71b63295edd5b32d1b2b9ed3a1443cfc92e7 SHA512 54caec67e57f2ff3908942c1ebd1e909c65204c6f31d0ec95e31f46e03364f309898006b93555ba81287c0d74faf407272226e5ec65b3148ecde8feec11ca3be
|
||||
DIST cutter-1.5.tar.gz 1083692 BLAKE2B 1fbe79978b46016f7d99fc008b178880dd4cf80133febae5a9a2ec0354cbb17a97813ff35c860729e5002116aea9575c63edf6bb2deb74c545049c8995c1334c SHA512 f6170da6ad0455e675ad9aadeb602fafc8c26b0abd3ac4cf1b09744235482282f09fb5d2022fc119b84a5b7a037641791af942e48c52142a0fc69540b4561da2
|
||||
DIST cutter-1.6.tar.gz 1083427 BLAKE2B d51b88f2b9dd2655ef58d7075086959ec3ed59ed4b21db81a792ee165deda523a4e59378c954d0f2aa5b0af25d67329ed2119c004edc402c9b593a3b230a6fd9 SHA512 83aaadfbaccdaa514606408868c050e22d0a80a749b98a9f6df929467a16e69b0d454b25ce1cf53e35ebbfb74e9b39e2bd390057488c9bb3992a442ca306c2f1
|
||||
|
|
|
|||
53
dev-util/cutter/cutter-1.6.ebuild
Normal file
53
dev-util/cutter/cutter-1.6.ebuild
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit qmake-utils python-r1
|
||||
|
||||
DESCRIPTION="A Qt and C++ GUI for radare2 reverse engineering framework"
|
||||
HOMEPAGE="http://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="+jupyter webengine"
|
||||
|
||||
DEPEND="dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
>=dev-util/radare2-2.6.9
|
||||
jupyter? ( dev-python/jupyter_client
|
||||
dev-python/notebook )
|
||||
webengine? ( dev-qt/qtwebengine )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="webengine? ( jupyter )"
|
||||
|
||||
src_prepare(){
|
||||
python_setup
|
||||
if python_is_python3; then
|
||||
MY_PYTHON=${EPYTHON/python/python-}
|
||||
sed -i "s|packagesExist(python3)|packagesExist(${MY_PYTHON})|" src/Cutter.pro
|
||||
sed -i "s|PKGCONFIG += python3|PKGCONFIG += ${MY_PYTHON}|" src/Cutter.pro
|
||||
else
|
||||
die "python3 not found"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="/usr" \
|
||||
CUTTER_ENABLE_JUPYTER="$(usex jupyter 'true' 'false')" \
|
||||
CUTTER_ENABLE_QTWEBENGINE="$(usex webengine 'true' 'false')" \
|
||||
src
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
}
|
||||
Loading…
Reference in a new issue