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 6BD2E158095 for ; Thu, 8 Sep 2022 04:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77449E0943; Thu, 8 Sep 2022 04:14:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5EAAFE0943 for ; Thu, 8 Sep 2022 04:14:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 131183410B9 for ; Thu, 8 Sep 2022 04:14:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E4195BD for ; Thu, 8 Sep 2022 04:14:26 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1662610458.93c7f2abcf89fb08a444600d8aaf181171308184.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/imhex/imhex-1.22.0.ebuild X-VCS-Directories: app-editors/imhex/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: 93c7f2abcf89fb08a444600d8aaf181171308184 X-VCS-Branch: dev Date: Thu, 8 Sep 2022 04:14: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: 7b6c5e3f-1f1e-46b3-b2b7-9c452c401736 X-Archives-Hash: a7a127ff9276f87932500f6a311d8731 commit: 93c7f2abcf89fb08a444600d8aaf181171308184 Author: Huang Rui gmail com> AuthorDate: Thu Sep 8 04:14:18 2022 +0000 Commit: Rui Huang gmail com> CommitDate: Thu Sep 8 04:14:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93c7f2ab app-editors/imhex: drop 1.22.0 Signed-off-by: Huang Rui gmail.com> app-editors/imhex/imhex-1.22.0.ebuild | 115 ---------------------------------- 1 file changed, 115 deletions(-) diff --git a/app-editors/imhex/imhex-1.22.0.ebuild b/app-editors/imhex/imhex-1.22.0.ebuild deleted file mode 100644 index 09fd29f32..000000000 --- a/app-editors/imhex/imhex-1.22.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -CMAKE_MAKEFILE_GENERATOR="emake" -PYTHON_COMPAT=( python3_{8..11} ) - -inherit cmake desktop llvm python-r1 xdg - -DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight" -HOMEPAGE="https://github.com/WerWolv/ImHex" -SRC_URI=" - https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz - https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz -" -S="${WORKDIR}/ImHex" -S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND=" - python? ( ${PYTHON_DEPS} ) - app-forensics/yara - dev-libs/capstone - >=dev-libs/libfmt-8.0.0 - dev-libs/openssl - dev-libs/tre - media-libs/freetype - media-libs/glfw - media-libs/glm - net-libs/libssh2 - net-libs/mbedtls - net-misc/curl - sys-apps/dbus - sys-apps/file - sys-apps/xdg-desktop-portal - virtual/libiconv - virtual/libintl -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-admin/chrpath - >=dev-cpp/nlohmann_json-3.10.2 - gnome-base/librsvg - sys-devel/llvm -" - -src_configure() { - use python && python_setup - - local mycmakeargs=( - -D CMAKE_SKIP_RPATH=ON \ - -D IMHEX_IGNORE_BAD_CLONE=ON \ - -D IMHEX_OFFLINE_BUILD=ON \ - -D IMHEX_STRIP_RELEASE=OFF \ - -D IMHEX_VERSION="${PV}" \ - -D PROJECT_VERSION="${PV}" \ - -D USE_SYSTEM_CAPSTONE=ON \ - -D USE_SYSTEM_CURL=ON \ - -D USE_SYSTEM_FMT=ON \ - -D USE_SYSTEM_LLVM=ON \ - -D USE_SYSTEM_NLOHMANN_JSON=ON \ - -D USE_SYSTEM_YARA=ON - ) - if use python; then - mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" ) - fi - cmake_src_configure -} - -src_install() { - # Can't use cmake_src_install, doing it manual - # Executable - dobin "${BUILD_DIR}/${PN}" - chrpath -d "${ED}/usr/bin/${PN}" - # Shared lib and plugins - dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so* - chrpath -d "${ED}"/usr/bin/lib"${PN}"/lib"${PN}".so* - exeinto "/usr/$(get_libdir)/${PN}/plugins" - for plugin in builtin; do - doexe "${BUILD_DIR}/plugins/${plugin}.hexplug" - chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug" - done - # Desktop and icon files - domenu "${S}/dist/${PN}.desktop" - newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg" - for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do - mkdir "${T}/${i}x${i}" || die - rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die - doicon -s "${i}" "${T}/${i}x${i}/${PN}.png" - done - - if use python; then - installation() { - mypythondir="${D}/$(python_get_sitedir)/${PN}" - mkdir -p "${mypythondir}" || die - cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die - python_optimize "${mypythondir}" - } - python_foreach_impl installation - fi - - # Install docs - einstalldocs - - # Install patterns - insinto /usr/share/imhex - doins -r "${S_PATTERNS}"/* -}