diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2023-09-10 10:45:11 -0700 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2023-09-10 11:03:51 -0700 |
commit | cea9db5f4797cba52946e0c9e003ee2970c55a8f (patch) | |
tree | dca5aa3390598de28882fb80c1a25ca4b277ee1a /dev-util/cutter | |
parent | dev-util/rizin: temporarily disable system openssl (diff) | |
download | gentoo-cea9db5f4797cba52946e0c9e003ee2970c55a8f.tar.gz gentoo-cea9db5f4797cba52946e0c9e003ee2970c55a8f.tar.bz2 gentoo-cea9db5f4797cba52946e0c9e003ee2970c55a8f.zip |
dev-util/cutter: add 2.3.1
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/32559
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'dev-util/cutter')
-rw-r--r-- | dev-util/cutter/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cutter/cutter-2.3.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 010d7f377126..cb731b555ce5 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1 +1,2 @@ DIST cutter-2.2.1.tar.gz 11028914 BLAKE2B 4afb93940a3878b254d0c8cff37f63a40a2ba6d581d0ac086b0fe12fb914b161375c64aa18369892feae5da1726c047f96b2405d48f4cdba7532ef839c557ef6 SHA512 1036679049666971bc3dc8f54067d822bc6df798138790fdba2f70932f3034aceeceb10cb732c8257539b128a2d0b10f684d2d6db787402f70bfb1bf13dbbf39 +DIST cutter-2.3.1.tar.gz 11269422 BLAKE2B 7c0060551d9a40b9bef33e28db122f1d1aa5469750f5a02d436ac7c33e1849cb75b9080d21ff22b29868357395b224aa2267deed298c0913713f71429e9da23d SHA512 7166e9acf757b6cb11e3a16be5d5cc3783cdea906e642c40967e823bd0fe3cd877969b5123a555673e1ed23588c0037bb83b50be2beed6a436a90ab0eafa03a1 diff --git a/dev-util/cutter/cutter-2.3.1.ebuild b/dev-util/cutter/cutter-2.3.1.ebuild new file mode 100644 index 000000000000..410b1cc43a64 --- /dev/null +++ b/dev-util/cutter/cutter-2.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +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.6.1:= + graphviz? ( media-gfx/graphviz )" +RDEPEND="${DEPEND} + !net-analyzer/cutter" # https://bugs.gentoo.org/897738 +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 +} |