diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-10 22:36:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-10 22:36:46 +0100 |
commit | 783da4542a9c3e0e1ec703644212707cde610679 (patch) | |
tree | 3e0cf56ac37ddf9d5fdc6ff0ced9135b1c7fc5e0 /dev-util/cutter | |
parent | d0041c590ed45bbfeae458ea926e36bc64e41dd7 (diff) |
gentoo auto-resync : 10:09:2023 - 22:36:45
Diffstat (limited to 'dev-util/cutter')
-rw-r--r-- | dev-util/cutter/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cutter/cutter-2.3.1.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 89e0ebf7b7e6..786bb2dcc354 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1,3 +1,5 @@ DIST cutter-2.2.1.tar.gz 11028914 BLAKE2B 4afb93940a3878b254d0c8cff37f63a40a2ba6d581d0ac086b0fe12fb914b161375c64aa18369892feae5da1726c047f96b2405d48f4cdba7532ef839c557ef6 SHA512 1036679049666971bc3dc8f54067d822bc6df798138790fdba2f70932f3034aceeceb10cb732c8257539b128a2d0b10f684d2d6db787402f70bfb1bf13dbbf39 +DIST cutter-2.3.1.tar.gz 11269422 BLAKE2B 7c0060551d9a40b9bef33e28db122f1d1aa5469750f5a02d436ac7c33e1849cb75b9080d21ff22b29868357395b224aa2267deed298c0913713f71429e9da23d SHA512 7166e9acf757b6cb11e3a16be5d5cc3783cdea906e642c40967e823bd0fe3cd877969b5123a555673e1ed23588c0037bb83b50be2beed6a436a90ab0eafa03a1 EBUILD cutter-2.2.1.ebuild 1345 BLAKE2B df0419a836ee7e1522e19f2677223cf5dcd1fcfed63dc17c1df566b8fb2021f0bf06b9c0896f8c177aa9a331fa73db7cbb4efb187caa135c886037d8e17df308 SHA512 956f479b54ffcdf053a1e223b73e15699e521a8a739bbe5e6d9f19a7c765bb092295da3ea3fcb85a4bd3d71d5a57aeabfde0dd015e53cf5e317e1149ae222022 +EBUILD cutter-2.3.1.ebuild 1347 BLAKE2B 54877e880445b4a2609f46112e413f68d01579f669be3cf3668f3778041ca8daecdfb0b43c76be4c7ad2be13e6a71e5a9aa095af541933bb4d4dbc4f786a6b16 SHA512 dba5a8013397d6baabfc4f2462b51d056806bec6bda2c2ea019206fbd21506a9b7c353720fa3e8e265f5e358d956809d89ea2a808c1ce7060274b77eccc5521e MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb 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 +} |