mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
cutter: v1.4 bump
This commit is contained in:
parent
052ed4b83f
commit
332593a967
2 changed files with 54 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST cutter-1.2.tar.gz 654893 BLAKE2B 206a8a295065cf014fcdc5c0dced013aa198b4173033c6834753c71dd310771860793c98976cde7057d42a152c4063b56a1cc2b6fd6df0ef92ccf78491c9dc6b SHA512 75cc3b03e6adfa2833cd306c760ef101d5ae7534c417fd3fbaf1f472223d79ff23d84d35e4a1bd8fd1ddb5b26d1d241dccc003ca6702fba505939f80a48f72a7
|
||||
DIST cutter-1.3.tar.gz 1057963 BLAKE2B 249777c10dfd93b665cabae241ebfe3b8a8da179629999115124114cc46964a061cc9ba8dc625b746ec42dd81fbc4e4bcd2a78c07e5a80e89ab68b5b617eeb1a SHA512 2c0777a2eb7fe656a87608312e2567594896dea7e19daa7d54735da7ea0d38607f3a03e0fc82fa309e5e4521b965ab54b531a6a20993512d9fe28507ce6eccd8
|
||||
DIST cutter-1.4.tar.gz 1067162 BLAKE2B 2f7eceffcfb3c542695e03ec72de1c99451f8278e91f50abc2e87542efbd2cc73d5a52b0e5303b9cea751edf91bc71b63295edd5b32d1b2b9ed3a1443cfc92e7 SHA512 54caec67e57f2ff3908942c1ebd1e909c65204c6f31d0ec95e31f46e03364f309898006b93555ba81287c0d74faf407272226e5ec65b3148ecde8feec11ca3be
|
||||
|
|
|
|||
53
dev-util/cutter/cutter-1.4.ebuild
Normal file
53
dev-util/cutter/cutter-1.4.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
|
||||
# python-utils-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.2.0
|
||||
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 is required"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eqmake5 PREFIX="${ED}usr" \
|
||||
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