summaryrefslogtreecommitdiff
path: root/dev-util/cutter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-util/cutter
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-util/cutter')
-rw-r--r--dev-util/cutter/Manifest4
-rw-r--r--dev-util/cutter/cutter-2.0.3-r2.ebuild (renamed from dev-util/cutter/cutter-2.0.3-r1.ebuild)2
-rw-r--r--dev-util/cutter/cutter-2.0.4.ebuild63
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index 1f19998b3a36..40bd1a2abae4 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,4 +1,6 @@
DIST cutter-2.0.3.tar.gz 2720129 BLAKE2B 1fbd20c8e190e422fdc64db5a008b7a8a2b15349e9d2f7056a970e0c924bb97d5bf0f9f25d77b220a560429881120466bce1ed3aab6cf4c7ec34453b35ddec53 SHA512 892df9fb166a3160b857d2becb61689d2eca340d7c2cf1a1f81a7a6ac6c414c5205220a7282de8a2823fa8fb54b03580b376c65239d7740cb429d499a16f8924
+DIST cutter-2.0.4.tar.gz 2722604 BLAKE2B f9b670296e7e4aa1da2e665afeb0e7e4fa83517a473222a0cce03fff0858297120f619b8e1584f45f97c49ecde800242344d2b24140e9fd5a268ed1fd10d16c4 SHA512 06a5ffcd96e8afc2d947f8f45a5b6bdee3ec4b1c7edcf2cc14e0eac5922400be8f594fe579a0515869dd33b90a07b24f0d4294ad85b3f1cb247b16f8b7cf0826
DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2
-EBUILD cutter-2.0.3-r1.ebuild 1602 BLAKE2B 2a88a2371f0890c842bdb925e0e2068ca933abf148386d19e49d3a590e737d75fb44f76595509721a35fbbe6610e0346b86a75bf3a738be0749b98acd44b1cd7 SHA512 02c8848bbf691b96eaec4408ca95a58b76865330e314709d9a11f1281bb42a3bdde1e12c238212739362f440047ce7c7ad1c858b9293bd6745cce19b8015830e
+EBUILD cutter-2.0.3-r2.ebuild 1604 BLAKE2B 48509355663f74977c01d77422c9f63e74c42be24b1caf5fa2f400416bb93c14e3cf7e261f919528837244d436d116165f25d94ccd565d0604c92aeca7598a07 SHA512 2c11be9ea501988e7518d378af407122f279c6e2ee2fe04f86a867a2cfa6b39322b6803e4e318e80bd67a208c3c67fe4f91ef1b1d081ce0acc16fa2f261092e9
+EBUILD cutter-2.0.4.ebuild 1604 BLAKE2B 3678d26ef0af0764bb9c166da30f744e46cd41067082249a4d56e18a37e0e6e15b960a144f6d6021400b7041ca264d2c172411c57b214301805b6ce8c79dd312 SHA512 87f58df7f835f7a860e36ef4990d161ededc7817db355a6668ca58a042b67bd4d6a6027bf83678d64fcd5cbe9070115225eb66d6b83daceb4cabf884c833a0e8
MISC metadata.xml 329 BLAKE2B ccc11908a8ba66fdc15f6fe8ea45e62e797050488dc82de159525338cb4ffc4d52609bd815dd0a2ad3ad23a915e5bf631dc3db640a0e7c314fb5fa66cfe5b2b7 SHA512 208b070fdb02df4825d364ee5d86c3be7658fb6c84420d53b5e4f72427de0a2b8c201e46a6bae9d923eb5e9b0f195fb639336452c89dd4affc5527908cd152fb
diff --git a/dev-util/cutter/cutter-2.0.3-r1.ebuild b/dev-util/cutter/cutter-2.0.3-r2.ebuild
index 7698ae9bf4b1..a73906986f26 100644
--- a/dev-util/cutter/cutter-2.0.3-r1.ebuild
+++ b/dev-util/cutter/cutter-2.0.3-r2.ebuild
@@ -25,7 +25,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
- >=dev-util/rizin-0.3.0
+ >=dev-util/rizin-0.3.0:=
graphviz? ( media-gfx/graphviz )"
DEPEND="${COMMON_DEPEND}
dev-qt/linguist-tools:5"
diff --git a/dev-util/cutter/cutter-2.0.4.ebuild b/dev-util/cutter/cutter-2.0.4.ebuild
new file mode 100644
index 000000000000..c1c8045bd189
--- /dev/null
+++ b/dev-util/cutter/cutter-2.0.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9,10} )
+TRANS_COMMIT="974298653ba71b958e1b6c83f6011f5fefff6236"
+
+inherit cmake toolchain-funcs xdg-utils python-single-r1
+
+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/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/rizinorg/cutter-translations/archive/${TRANS_COMMIT}.tar.gz -> cutter-translations-${TRANS_COMMIT}.tar.gz"
+
+LICENSE="CC-BY-SA-3.0 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_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.3.1:=
+ graphviz? ( media-gfx/graphviz )"
+DEPEND="${COMMON_DEPEND}
+ dev-qt/linguist-tools:5"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ rmdir "${S}/src/translations" || die
+ mv "${WORKDIR}/cutter-translations-${TRANS_COMMIT}" \
+ "${S}/src/translations" || die
+
+ cmake_src_prepare
+}
+
+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
+}