summaryrefslogtreecommitdiff
path: root/dev-util/cutter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
commit81b8f20732954c4508baf2f77472b5435e3f851f (patch)
tree4180177cb7ba85eab50159ce96218c2419fb24a6 /dev-util/cutter
parent946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff)
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'dev-util/cutter')
-rw-r--r--dev-util/cutter/Manifest2
-rw-r--r--dev-util/cutter/cutter-2.1.2.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index d3cbde1e89e8..0635bd915fdd 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,4 +1,6 @@
DIST cutter-2.1.0.tar.gz 2732264 BLAKE2B 463e0f8968c61c7d3b7e3c7a570c9f7c625e4c024306c0284665d39de460bc6780eedd114f51ec722bec6ab7d43077362b676562d0a89665886fbabc3240def1 SHA512 444e27005b9348397097c0c2fd047a557dfd5e8d5d43df6a2ab345da48e26537025ce6f81b256fe765dc59bf5944952965637b84e96136b3025c3dc5bca3f2d6
+DIST cutter-2.1.2.tar.gz 10520198 BLAKE2B f19ebdb09be8df270f72cfd17c8e3bf0172fd4506942e33c0f57d771f483ef365504b05eaf030eff7d1b4f4520484f6731d3e60eafaf4d8d2481718d48ad8d77 SHA512 f01cc08085587be00c5b64f0797180d74a02e2cce60c8ec040d831ca4b74fe371e34b284a293a0d88447ebdca4d72718aaf179ab3bb4db3bd6659deaae732272
DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2
EBUILD cutter-2.1.0.ebuild 1573 BLAKE2B ef62857706daa30e21094ae4ca1e669d34dc579bbfe887d641fd2a10ff3866a7881434736010cdd6bcde37905f06acad32d8c399861ac16b4b836cdea2f21802 SHA512 b65eaf5fee5d31b2293e3baa365147c1c9cfa9b69e9c85cf164ca34506b8cfe868fc1d2521e86bba027bc15adcaaf4175d23411bb51a4488beb234df24c9fba9
+EBUILD cutter-2.1.2.ebuild 1291 BLAKE2B 1c28b16f228f38ccfea39c374c01b8124f637077a3b57ef5cc26c3af908d32764896c5f0c7c4230ea4c0b43cf9e055c997f0ab0ea4efbb1a54e73279a602d6e7 SHA512 f1ab653ab196eeb62aaa5de9889d7ed3b4bf446b76cca907affb09e83b2df2ed6f9855cd20cea2cf8ec8c3d435749c7e4f6765e4784ce63e68196917e6a81842
MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb
diff --git a/dev-util/cutter/cutter-2.1.2.ebuild b/dev-util/cutter/cutter-2.1.2.ebuild
new file mode 100644
index 000000000000..6f475ad8994e
--- /dev/null
+++ b/dev-util/cutter/cutter-2.1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake toolchain-funcs xdg-utils python-single-r1
+
+MY_P="${PN^}-v${PV}"
+
+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/${PN}/releases/download/v${PV}/${MY_P}-src.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="CC-BY-SA-3.0 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz"
+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/rizin-0.4.0:=
+ graphviz? ( media-gfx/graphviz )"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+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
+}