summaryrefslogtreecommitdiff
path: root/dev-util/cutter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-08 23:06:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-08 23:06:07 +0100
commite23a08d0c97a0cc415aaa165da840b056f93c997 (patch)
tree4c5f7db60483518201fef36f8cc0712789a08db2 /dev-util/cutter
parent391b5b359a346aff490103da7dddc85047f83830 (diff)
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-util/cutter')
-rw-r--r--dev-util/cutter/Manifest2
-rw-r--r--dev-util/cutter/cutter-2.0.3.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index 14dfb4b55416..d7d4573c37d9 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,4 +1,6 @@
DIST cutter-2.0.2.tar.gz 2696029 BLAKE2B 9bc101137a1e479e137d9638ffa6892fa1fd7b3393462a305d0c92bd02b0486b1d2d071770be135de9493b23fa563421ac1d25bc890d9b2ed21d302601afb333 SHA512 17ec58fddbbceb4ab06b367f2f795ac0a2d8876c454159f20b7b1c6448bda330445ff922c2dd125ca42b77c729f5c65bafbf1c98eecc29c0bc1081c78f052141
+DIST cutter-2.0.3.tar.gz 2720129 BLAKE2B 1fbd20c8e190e422fdc64db5a008b7a8a2b15349e9d2f7056a970e0c924bb97d5bf0f9f25d77b220a560429881120466bce1ed3aab6cf4c7ec34453b35ddec53 SHA512 892df9fb166a3160b857d2becb61689d2eca340d7c2cf1a1f81a7a6ac6c414c5205220a7282de8a2823fa8fb54b03580b376c65239d7740cb429d499a16f8924
DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2
EBUILD cutter-2.0.2.ebuild 1598 BLAKE2B b26ed5d1c12aed59ca3632bbdacd95cefae09d1a6105bd56ad1d3d5bd19be3f95b35727b08ab6d5860b2dff98e2df8d1277d761fd656ec804d44796c5fda6c8b SHA512 3d2fbe30c9b7ed34f5d82d8502a58e392352b6a2dfc40ef12a57b438e54ef16b9e107d5a1febcdbaf5acfb5c37231ead88b94f130f07dbc5b94b2eb8f90124f3
+EBUILD cutter-2.0.3.ebuild 1594 BLAKE2B 1eae5b2b4ed9f17899a9b184452a8ec4b99264f956420f7fbff95457ac8df7bff9b044874c8c8b18ea8849958a97b94fa01329224ebe894e8e79bf1a0451d4ab SHA512 54854aaff227c42ee993c0e781470fa5f76c0bd08aa45aa94f3f4fe1c22e1dde13e9103f6b187ca4bbd91ba06a1910807c6078a084ab4d886757c530ee61869d
MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb
diff --git a/dev-util/cutter/cutter-2.0.3.ebuild b/dev-util/cutter/cutter-2.0.3.ebuild
new file mode 100644
index 000000000000..0c181e99be20
--- /dev/null
+++ b/dev-util/cutter/cutter-2.0.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9,10} )
+TRANS_COMMIT="974298653ba71b958e1b6c83f6011f5fefff6236"
+
+inherit cmake toolchain-funcs xdg-utils python-single-r1
+
+DESCRIPTION="A Qt and C++ GUI for rizin reverse engineering framework"
+HOMEPAGE="https://cutter.re https://github.com/rizinorg/cutter/"
+SRC_URI="https://github.com/rizinorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/rizinorg/cutter-translations/archive/${TRANS_COMMIT}.tar.gz -> cutter-translations-${TRANS_COMMIT}.tar.gz"
+
+LICENSE="CC-BY-SA-3.0 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_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/rizin
+ graphviz? ( media-gfx/graphviz )"
+DEPEND="${COMMON_DEPEND}
+ dev-qt/linguist-tools:5"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ rmdir "${S}/src/translations" || die
+ mv "${WORKDIR}/cutter-translations-${TRANS_COMMIT}" \
+ "${S}/src/translations" || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_COMPILER="$(tc-getCXX)"
+ -DCMAKE_C_COMPILER="$(tc-getCC)"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+ -DCUTTER_ENABLE_GRAPHVIZ="$(usex graphviz)"
+ -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=OFF
+ -DCUTTER_ENABLE_PYTHON=ON
+ -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF
+ -DCUTTER_USE_BUNDLED_RIZIN=OFF
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}