summaryrefslogtreecommitdiff
path: root/dev-util/cutter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-25 21:55:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-25 21:55:01 +0000
commitef596bcaa32d9c69d88a3451193cb242da803db1 (patch)
treed6084e886d9fb2f2bd064f937c0257aa1dfea7a6 /dev-util/cutter
parent83ebb477861172671f6796999e016400b659d65f (diff)
gentoo auto-resync : 25:02:2023 - 21:55:01
Diffstat (limited to 'dev-util/cutter')
-rw-r--r--dev-util/cutter/Manifest2
-rw-r--r--dev-util/cutter/cutter-2.2.0.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index 8e618cc81692..174120d2e8e0 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,3 +1,5 @@
DIST cutter-2.1.2.tar.gz 10520198 BLAKE2B f19ebdb09be8df270f72cfd17c8e3bf0172fd4506942e33c0f57d771f483ef365504b05eaf030eff7d1b4f4520484f6731d3e60eafaf4d8d2481718d48ad8d77 SHA512 f01cc08085587be00c5b64f0797180d74a02e2cce60c8ec040d831ca4b74fe371e34b284a293a0d88447ebdca4d72718aaf179ab3bb4db3bd6659deaae732272
+DIST cutter-2.2.0.tar.gz 10750189 BLAKE2B 00626b1fe01044e6a718b81bc2452204ed35003a50e73ec083838610d50b7b690fb5783fd2fdc7f31c35390a664862c488c48f156ebbffdc16ffb39e8e943ebc SHA512 5435f700603f144903e9d93c21f7561b31f1734a2558fe5d11d62d50a635c800e8fb62d866b3b4186d665f57ce9271665dcae8423f0009c3e0bb63bcfa168c1c
EBUILD cutter-2.1.2-r2.ebuild 1289 BLAKE2B b39d681d76ac8df74eff7b2beb4d1dbf7d200cdf523becd4ee0d2c85c58f0525f92fe99ad3cf6a1f5e289e080afdde1e81afac676a0bd3c400fcde3b6ff9a3ee SHA512 479367c950441da7719a9e86cd952ad79e4c63ef0640e53f7ee850c444f6ef7d555b23c4911142e61e0a09715d2aaa3ea6016bb176d2d20c6d38f6b6e2566fd4
+EBUILD cutter-2.2.0.ebuild 1291 BLAKE2B e301f8c85dadd941aa7ea820247f7ba8852f614abe7762280553a8ac2541d559f7e82103caf31c19c833e0df1f63b7087a800dea3bb48aa3a5504bf6dc4d1498 SHA512 8ccdb39fc092d2890146c523acb861aace29943bb96ba20ff0c679c79d9ac7d5922e47c494c2dfa2472cfdf7527dae23ba661f10a4f0d192c3b13ddf04a162c5
MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb
diff --git a/dev-util/cutter/cutter-2.2.0.ebuild b/dev-util/cutter/cutter-2.2.0.ebuild
new file mode 100644
index 000000000000..a50f8070c0da
--- /dev/null
+++ b/dev-util/cutter/cutter-2.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 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.5.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
+}