From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BF5A138239 for ; Tue, 6 Apr 2021 02:59:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F876E0875; Tue, 6 Apr 2021 02:59:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65699E0875 for ; Tue, 6 Apr 2021 02:59:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E13B2340D30 for ; Tue, 6 Apr 2021 02:59:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62FAC47 for ; Tue, 6 Apr 2021 02:59:28 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1617677849.988b1adcc9e53f95671272b1e2466de1a72c7090.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cutter/Manifest dev-util/cutter/cutter-2.0.0.ebuild X-VCS-Directories: dev-util/cutter/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: 988b1adcc9e53f95671272b1e2466de1a72c7090 X-VCS-Branch: master Date: Tue, 6 Apr 2021 02:59:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1ac5b57b-cf0e-4373-9b2a-41acf58fd69f X-Archives-Hash: d3c04ddafed26631fddcdc3bb3f6f928 commit: 988b1adcc9e53f95671272b1e2466de1a72c7090 Author: John Helmert III gentoo org> AuthorDate: Tue Apr 6 02:57:29 2021 +0000 Commit: John Helmert III gentoo org> CommitDate: Tue Apr 6 02:57:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988b1adc dev-util/cutter: bump to 2.0.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: John Helmert III gentoo.org> dev-util/cutter/Manifest | 2 ++ dev-util/cutter/cutter-2.0.0.ebuild | 60 +++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 4135848399e..15e9085f22a 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1 +1,3 @@ DIST cutter-1.12.0.tar.gz 2323732 BLAKE2B fb40444b60c19f88dafb9447731b91031ad764359121b835ae03477bf52f17d12d1a0b651059072b6ffb7bf811d4493b3746ab9c48d8f09257b5338130edecbd SHA512 3d8dd9cb6f9e69f41e295795f3d1b7256c071abafd04bdecd619817b8fd04396770f69df753701ffb376a358f0df9bd38dff6a344df4e5ca92163275ad670531 +DIST cutter-2.0.0.tar.gz 2699497 BLAKE2B 3d76d61531855998eaeaaf76ee50e396eacbb5a4d7f956adbb97ec38baf57eb3badc1c60980e1533f3a5d05ad2fdcd1d3f42188e0745007e9e7a603d89080525 SHA512 6a64e1c5ca6b80c4c72b007a6bb2d043e82dbfd784f7674e0f536f8065566fd100383b6f7d785d4c8e9b2418c58384bbef31ad1dc63b5a2381987e1532f63354 +DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2 diff --git a/dev-util/cutter/cutter-2.0.0.ebuild b/dev-util/cutter/cutter-2.0.0.ebuild new file mode 100644 index 00000000000..a73139fb67c --- /dev/null +++ b/dev-util/cutter/cutter-2.0.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +TRANS_COMMIT="974298653ba71b958e1b6c83f6011f5fefff6236" + +inherit cmake toolchain-funcs xdg-utils python-single-r1 + +DESCRIPTION="A Qt and C++ GUI for radare2 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" +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" +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=OFF + -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=OFF + -DCUTTER_ENABLE_PYTHON=ON + -DCUTTER_USE_BUNDLED_RIZIN=OFF + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}