public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/
Date: Tue,  5 Oct 2021 20:40:41 +0000 (UTC)	[thread overview]
Message-ID: <1633466411.4a614af99521dcb00f6063d761760ece4f5117c4.ajak@gentoo> (raw)

commit:     4a614af99521dcb00f6063d761760ece4f5117c4
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  5 20:39:25 2021 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Tue Oct  5 20:40:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a614af9

dev-util/cutter: add 2.0.3

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 dev-util/cutter/Manifest            |  1 +
 dev-util/cutter/cutter-2.0.3.ebuild | 63 +++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index f6b8451a4f0..9fe163d5cc0 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,2 +1,3 @@
 DIST cutter-2.0.2.tar.gz 2696029 BLAKE2B 9bc101137a1e479e137d9638ffa6892fa1fd7b3393462a305d0c92bd02b0486b1d2d071770be135de9493b23fa563421ac1d25bc890d9b2ed21d302601afb333 SHA512 17ec58fddbbceb4ab06b367f2f795ac0a2d8876c454159f20b7b1c6448bda330445ff922c2dd125ca42b77c729f5c65bafbf1c98eecc29c0bc1081c78f052141
+DIST cutter-2.0.3.tar.gz 2720129 BLAKE2B 1fbd20c8e190e422fdc64db5a008b7a8a2b15349e9d2f7056a970e0c924bb97d5bf0f9f25d77b220a560429881120466bce1ed3aab6cf4c7ec34453b35ddec53 SHA512 892df9fb166a3160b857d2becb61689d2eca340d7c2cf1a1f81a7a6ac6c414c5205220a7282de8a2823fa8fb54b03580b376c65239d7740cb429d499a16f8924
 DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2

diff --git a/dev-util/cutter/cutter-2.0.3.ebuild b/dev-util/cutter/cutter-2.0.3.ebuild
new file mode 100644
index 00000000000..0c181e99be2
--- /dev/null
+++ b/dev-util/cutter/cutter-2.0.3.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
+	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
+}


             reply	other threads:[~2021-10-05 20:40 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 20:40 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-11 18:23 [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/ Andreas Sturmlechner
2025-02-10 19:01 Arthur Zamarin
2025-01-14  4:02 John Helmert III
2025-01-12 22:24 John Helmert III
2025-01-12 22:24 John Helmert III
2024-07-28 18:51 John Helmert III
2024-07-28 18:51 John Helmert III
2024-07-28  2:39 Sam James
2024-05-11 19:08 Sam James
2024-04-21 23:33 John Helmert III
2024-03-04  5:21 John Helmert III
2024-03-04  5:21 John Helmert III
2023-09-26  0:54 Sam James
2023-09-17  0:06 John Helmert III
2023-09-10 18:04 John Helmert III
2023-07-22 16:30 John Helmert III
2023-07-22 16:30 John Helmert III
2023-07-22 16:30 John Helmert III
2023-06-02  4:04 John Helmert III
2023-04-30 23:36 John Helmert III
2023-04-30 23:36 John Helmert III
2023-04-16 18:52 John Helmert III
2023-02-25 16:35 John Helmert III
2023-02-23  3:55 John Helmert III
2023-02-22 15:58 John Helmert III
2022-10-21 19:56 John Helmert III
2022-10-21 19:56 John Helmert III
2022-09-11 13:33 John Helmert III
2022-09-10 21:22 John Helmert III
2022-08-08  9:40 Andreas Sturmlechner
2022-07-04 20:01 John Helmert III
2022-07-04 20:01 John Helmert III
2022-07-04 20:01 John Helmert III
2022-03-02  2:43 John Helmert III
2022-03-02  2:43 John Helmert III
2022-01-14 20:35 John Helmert III
2021-12-01 16:22 John Helmert III
2021-11-20 23:30 John Helmert III
2021-10-17 16:08 John Helmert III
2021-10-15 16:57 Rick Farina
2021-05-24 23:37 John Helmert III
2021-05-24 23:37 John Helmert III
2021-04-27  3:15 John Helmert III
2021-04-14 19:26 John Helmert III
2021-04-11 22:31 John Helmert III
2021-04-06 19:03 Sergei Trofimovich
2021-04-06 13:08 John Helmert III
2021-04-06  2:59 John Helmert III
2020-10-18 12:31 Sergei Trofimovich
2020-09-03 22:28 Sergei Trofimovich
2020-07-25  5:44 Joonas Niilola
2020-07-25  5:30 Joonas Niilola
2020-07-25  5:30 Joonas Niilola
2020-07-25  5:30 Joonas Niilola
2020-07-24  8:28 Joonas Niilola
2019-08-12 20:16 Michał Górny
2019-07-07 19:17 Michał Górny
2018-01-25 11:16 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633466411.4a614af99521dcb00f6063d761760ece4f5117c4.ajak@gentoo \
    --to=ajak@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox