summaryrefslogtreecommitdiff
path: root/dev-util/cutter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-22 12:05:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-22 12:05:36 +0100
commit02eb6576978c38afed5787f6f2dbab8353379d66 (patch)
tree0b82220aae58c1307bef3aff0f342f4cdf858161 /dev-util/cutter
parent490ef2c2dc8b4e808f37add1adee21a754efd9a9 (diff)
gentoo auto-resync : 22:04:2024 - 12:05:36
Diffstat (limited to 'dev-util/cutter')
-rw-r--r--dev-util/cutter/Manifest2
-rw-r--r--dev-util/cutter/cutter-2.3.4.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index 238face6ed41..c62d31916c82 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,5 +1,7 @@
DIST cutter-2.3.2.tar.gz 11280258 BLAKE2B 20dba40d96fed296b9af0b0e0b66dd46901bfc6621ba59cce1940ed2980acfc1e8b6447c20995bbeace71c7eeb1c9b180bf3b2076bbae9035706c6d4aff6dc5f SHA512 65ca98f6618b1e60efa25d33bb4f3ef6b36dfd8496cf1f40c6a6b9744df3c2f77673d1d3cc1142c1b3b064abd0698ca07a20c5e4009ba5f6b05fc7f7501a4435
DIST cutter-2.3.3.tar.gz 11609727 BLAKE2B bea428892d242c8112d5004b9960d9f74b3aa48b5988436bba54983abf3d26f4bca89b4dc75061e857c2cc51f724ea392fc4f380f227c36f38618078ec0a5761 SHA512 7731b6a2efa03a745cd0760d905df474383dc77906d5aefada7bd94098d771b75ae030cb71ed33256cc2f3e23c1c4930d45355cf6371361cb9780b26996dd2cb
+DIST cutter-2.3.4.tar.gz 11608176 BLAKE2B f83cd117bdd1a9ea985b52d4029bd3874f92b08709ac50dd1c6a526aadd022e05f9b75586cf826cc6b46c2004cb6b3185c5770b8622bc3c6a7140307a9c1a98a SHA512 c35a7091aaf2c99a4595b48029017353092b178ed6a57cbe2f0d9758f1330d2521e3fc339558ffc0dfa500ace0510daded8591f7a04b0efa0209ba4f8a5e7d33
EBUILD cutter-2.3.2.ebuild 1530 BLAKE2B aced04ddaa1d532f319020fded521542b8a7ee64e3689f0cdbc3134ade3dd0b75722c85adf28fdf2c6a0d8ee14bf9bf805b9350b1c5748be7e2a185a18815a51 SHA512 60b2702e0205615a1e740aff6ab02b124ccafc85a5c55073d79635510708a1c5f8bc89d53593611c922a49c15baa0759f8c09196027ba5f402a0cdf0f5835524
EBUILD cutter-2.3.3.ebuild 1531 BLAKE2B 63c1039c4ee18d048c73ba7977f81c32f174989dc609d4cadeff90a97f67abd8d3cf524885ed402a026c7703397d8fafab60e66607220d3f939732c2bf2495f8 SHA512 4af3ea900e91c295de97c06dae74eda45ea6f9b3343330140a177f15a1d73ead7622baf37c8f909eb45e7db4cbaaf2166bc4a79cde22d258d45b0ac73e8a178a
+EBUILD cutter-2.3.4.ebuild 1531 BLAKE2B 4b760ee01ca8a24d90ea52d76c48bb2cf20f426d05c78473b33130ef3b4387896db3d459e9f5716cf2b288c79f26a400a860772acef46a5fb5e7352245201e60 SHA512 aaad3ed2e6c250a9baa829c1441e915405c0e96c21dbb0cc89974d6c40f8a039eea19e78faa4e9b0ee52a2f0313bbcda2300d2380ebb283e206b0eb4a89f2699
MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb
diff --git a/dev-util/cutter/cutter-2.3.4.ebuild b/dev-util/cutter/cutter-2.3.4.ebuild
new file mode 100644
index 000000000000..6e3ac9dccc29
--- /dev/null
+++ b/dev-util/cutter/cutter-2.3.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake flag-o-matic 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.7.1:=
+ graphviz? ( media-gfx/graphviz )"
+RDEPEND="${DEPEND}
+ !net-analyzer/cutter" # https://bugs.gentoo.org/897738
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/925901
+ # https://github.com/rizinorg/cutter/pull/3317
+ #
+ # Fixed in git dev. Remove as part of next version bump.
+ filter-lto
+
+ 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
+}