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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3AA23158087 for ; Fri, 14 Jan 2022 20:35:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66C572BC023; Fri, 14 Jan 2022 20:35:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF4E72BC023 for ; Fri, 14 Jan 2022 20:35:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E12B342E93 for ; Fri, 14 Jan 2022 20:35:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E5E4275 for ; Fri, 14 Jan 2022 20:35:26 +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: <1642192516.5c52d4ab83110b1315ed928de46ff59acbe1b2b6.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.5.ebuild X-VCS-Directories: dev-util/cutter/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: 5c52d4ab83110b1315ed928de46ff59acbe1b2b6 X-VCS-Branch: master Date: Fri, 14 Jan 2022 20:35:26 +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: 310b3d9b-d3c1-444f-99a3-998cba41eeb9 X-Archives-Hash: 19be5d4f407b376add8f2974dc310daa commit: 5c52d4ab83110b1315ed928de46ff59acbe1b2b6 Author: John Helmert III gentoo org> AuthorDate: Fri Jan 14 20:33:34 2022 +0000 Commit: John Helmert III gentoo org> CommitDate: Fri Jan 14 20:35:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c52d4ab dev-util/cutter: add 2.0.5 Signed-off-by: John Helmert III gentoo.org> dev-util/cutter/Manifest | 2 ++ dev-util/cutter/cutter-2.0.5.ebuild | 63 +++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 857a6d353a0c..1c25d749796b 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1,3 +1,5 @@ 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-2.0.5.tar.gz 2724670 BLAKE2B 67352247dd4f16c916a669f72b3fd432c9fd122df39be3af5b08d288fab1b83876dbc891df8cfcebe211a9815930855add0ede7cd86667636ebcba1a43065957 SHA512 96badcd2ea00c2b50417b7019933443831fec3a4769cf7ab66505e898d3f2c693f24bbe994ad70f66a456908e621f053a96b21a2999290dc47c4219b6c639bfd +DIST cutter-translations-67f5c654523d22c7843811e5aa852a01742f6f12.tar.gz 719126 BLAKE2B 24c518c26a47e5eeb9d01ddbe835f9864588954e96820d562afb09f5da3352f807b7c3642d589a9ec81faaefd93fdbdf9c9f7cfc56cfd51ffe6aeaa920385913 SHA512 c2caa0e5d6cfa807cbe9117eb84b2931715e303a7d9902a6aaa58ec71b764d2ae9f0836981bd8eb9c91469b9776d93ab12b986ee068922559b5deaab28f54598 DIST cutter-translations-974298653ba71b958e1b6c83f6011f5fefff6236.tar.gz 595073 BLAKE2B 4445c4c16c47a05c74816d88a68fda97037c45caf7508fc1162f4978a0b3cb194653e879b77f6fc5be2f264a929ac11c4fc2aee68ceed6a23447094d0b249cdd SHA512 11450631602e7bd81132650b3edd028d56b2f6343a9561fe8bf3281427d8d22b0296651414756236b8544f719c8d4fc11be44a843532c8c32fe21dd7a82066d2 diff --git a/dev-util/cutter/cutter-2.0.5.ebuild b/dev-util/cutter/cutter-2.0.5.ebuild new file mode 100644 index 000000000000..f2b0ce29314b --- /dev/null +++ b/dev-util/cutter/cutter-2.0.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10} ) +TRANS_COMMIT="67f5c654523d22c7843811e5aa852a01742f6f12" + +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 +}