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 921441382C5 for ; Wed, 14 Apr 2021 19:27:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D358CE0A6A; Wed, 14 Apr 2021 19:26:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B838CE0A6A for ; Wed, 14 Apr 2021 19:26:59 +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 5B410340DB7 for ; Wed, 14 Apr 2021 19:26:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6A014D2 for ; Wed, 14 Apr 2021 19:26:56 +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: <1618428409.dc69b6bafffe11ad1fa2b657118d119923f25cec.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cutter/cutter-2.0.1.ebuild X-VCS-Directories: dev-util/cutter/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: dc69b6bafffe11ad1fa2b657118d119923f25cec X-VCS-Branch: master Date: Wed, 14 Apr 2021 19:26:56 +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: 3ac374f4-4ae0-4a82-91ca-81f7e78f618d X-Archives-Hash: 078705b4f4406325babdd413a62c7146 commit: dc69b6bafffe11ad1fa2b657118d119923f25cec Author: Petr Vaněk atlas cz> AuthorDate: Mon Apr 12 10:39:38 2021 +0000 Commit: John Helmert III gentoo org> CommitDate: Wed Apr 14 19:26:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc69b6ba dev-util/cutter: improve configuration - Introduce graphviz use flag - Set CUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF; This should be disabled if rizin is installed as a proper system library according to an option description, otherwise it may search it in /usr/local, for example. Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/20346 Signed-off-by: John Helmert III gentoo.org> dev-util/cutter/cutter-2.0.1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-util/cutter/cutter-2.0.1.ebuild b/dev-util/cutter/cutter-2.0.1.ebuild index a4c98cbaf84..c5eb669d8b4 100644 --- a/dev-util/cutter/cutter-2.0.1.ebuild +++ b/dev-util/cutter/cutter-2.0.1.ebuild @@ -16,6 +16,7 @@ SRC_URI="https://github.com/rizinorg/cutter/archive/v${PV}.tar.gz -> ${P}.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} @@ -24,7 +25,8 @@ COMMON_DEPEND="${PYTHON_DEPS} dev-qt/qtnetwork:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 - dev-util/rizin" + dev-util/rizin + graphviz? ( media-gfx/graphviz )" DEPEND="${COMMON_DEPEND} dev-qt/linguist-tools:5" RDEPEND="${COMMON_DEPEND}" @@ -42,9 +44,10 @@ src_configure() { -DCMAKE_CXX_COMPILER="$(tc-getCXX)" -DCMAKE_C_COMPILER="$(tc-getCC)" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCUTTER_ENABLE_GRAPHVIZ=OFF + -DCUTTER_ENABLE_GRAPHVIZ="$(usex graphviz)" -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=OFF -DCUTTER_ENABLE_PYTHON=ON + -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF -DCUTTER_USE_BUNDLED_RIZIN=OFF )