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 901AC158096 for ; Wed, 24 Aug 2022 15:52:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08E40E079E; Wed, 24 Aug 2022 15:52:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 7C4E5E079E for ; Wed, 24 Aug 2022 15:52:17 +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 37C9B34102F for ; Wed, 24 Aug 2022 15:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7EE7F59F for ; Wed, 24 Aug 2022 15:52:13 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1660994532.a4a7b57c5bf56ee31059092a9c0d51ed90af044e.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/imhex/, app-editors/imhex/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/imhex/Manifest app-editors/imhex/files/imhex-1.10.0-fix-yara-linking.patch app-editors/imhex/files/imhex-1.10.0-link-mbedtls.patch app-editors/imhex/files/imhex-1.10.0-no-lnlohmann_json.patch app-editors/imhex/files/imhex-1.10.1-no-lLLVMDemangle.patch app-editors/imhex/files/imhex-1.10.1-system-nativefiledialog.patch app-editors/imhex/files/imhex-1.8.1-fix-yara-linking.patch app-editors/imhex/files/imhex-1.8.1-gcc11.patch app-editors/imhex/files/imhex-1.8.1-system-nativefiledialog.patch app-editors/imhex/files/imhex-1.8.1-system-xdgpp.patch app-editors/imhex/imhex-1.10.0.ebuild app-editors/imhex/imhex-1.10.1.ebuild app-editors/imhex/imhex-1.8.1-r1.ebuild X-VCS-Directories: app-editors/imhex/ app-editors/imhex/files/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: a4a7b57c5bf56ee31059092a9c0d51ed90af044e X-VCS-Branch: master Date: Wed, 24 Aug 2022 15:52:13 +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: a8dc1ff5-f669-4190-81bc-148873e73d93 X-Archives-Hash: 1202520cf057ba47079585dfb1c800af commit: a4a7b57c5bf56ee31059092a9c0d51ed90af044e Author: Huang Rui gmail com> AuthorDate: Sat Aug 20 11:22:12 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Sat Aug 20 11:22:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4a7b57c app-editors/imhex: drop 1.8.1-r1, 1.10.0, 1.10.1 Signed-off-by: Huang Rui gmail.com> app-editors/imhex/Manifest | 3 - .../files/imhex-1.10.0-fix-yara-linking.patch | 11 --- .../imhex/files/imhex-1.10.0-link-mbedtls.patch | 14 --- .../files/imhex-1.10.0-no-lnlohmann_json.patch | 14 --- .../files/imhex-1.10.1-no-lLLVMDemangle.patch | 18 ---- .../imhex-1.10.1-system-nativefiledialog.patch | 10 -- .../imhex/files/imhex-1.8.1-fix-yara-linking.patch | 11 --- app-editors/imhex/files/imhex-1.8.1-gcc11.patch | 11 --- .../imhex-1.8.1-system-nativefiledialog.patch | 19 ---- .../imhex/files/imhex-1.8.1-system-xdgpp.patch | 11 --- app-editors/imhex/imhex-1.10.0.ebuild | 106 -------------------- app-editors/imhex/imhex-1.10.1.ebuild | 104 -------------------- app-editors/imhex/imhex-1.8.1-r1.ebuild | 108 --------------------- 13 files changed, 440 deletions(-) diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest index e5404a712..fa985686e 100644 --- a/app-editors/imhex/Manifest +++ b/app-editors/imhex/Manifest @@ -1,5 +1,2 @@ -DIST imhex-1.10.0.tar.gz 8509953 BLAKE2B e258693f44d5524a86c88e29152bfe9777a149236f146a16b88bc7a49d3450f1b46138649a830c7164175afaea3c0d5e76c998e3e65020627b3c978c504431bb SHA512 03d84e30d5ee064ef2c3faf5cb40965f2c94b41e4d8b3e2e3e800f079d0710f0660b4c751dc0c4516b9b19bbf57df44a102ae61fa41d56606ce1f37c9aa8313c -DIST imhex-1.10.1.tar.gz 8523483 BLAKE2B 7d73a06cfe83fdd9fa8723f1c64a752212f8e2f0dbf902f2d1da1349e53e580684263b168569f092d32c129eddba40131d8f8bd3148d6d59340dcd67bcdc8b6e SHA512 0542ce5db530989367dfc98932bd09e3020c955e2bd666122644612e1c41e2bc3d6a6374c60e7afbb4bae86c75930dfbc7a48f37a8cd8a0d85a550231f470b91 DIST imhex-1.21.2.tar.gz 23473112 BLAKE2B 5e1dbcf246fc2b2ac57636efee71574eb38ee2d04678a6e09b4d8c2d61da01021bb169fa40a18725d609a3daae1bf9a4ca8aacbb21b6d381c3ff1345d9f788c6 SHA512 e5dd9c5b81f739ee37cc51cf37aa6b866b1af8b28f06e0731612612c5a56d5d68d9d50c20ebb9304a51efb88c07fde72656dcc7d6c249dd827d5d15e44de9698 -DIST imhex-1.8.1.tar.gz 1758664 BLAKE2B 62c58358810bd4f1192495001d01fc6c6fe8f28a35adc1478c8b2d0dab0fd929c0f46018c9afd51c1094cbae0c04002f4887fb2fb9377b6c645abaee006b9a03 SHA512 c6ec73a282c9eb90b58d164c29abbef3dceba09aa706a8295cecdcb429d5efa4015fac0dd0a3111eae3efe667f5b16f063624bf188a00a400fc06b008e3b51f8 DIST imhex-patterns-1.21.2.tar.gz 4672663 BLAKE2B a0c4a9917ad44a4af0e01e67210bb025a01e6775b327248ba9259d36ea0596b2be74aed758d478b3f5c0d0aea669ed333c8aca2b7e43e275abc833bbdcef2490 SHA512 c5694bd5cc6a609dd8133f0566fbf3bfd4669cf4a20523d10afddbc39e4b7a8d52d8fdecff95883e40b6f06f858e1373c8dbe0713fd7f54380dac5ee3105b9ce diff --git a/app-editors/imhex/files/imhex-1.10.0-fix-yara-linking.patch b/app-editors/imhex/files/imhex-1.10.0-fix-yara-linking.patch deleted file mode 100644 index d1a5f4afa..000000000 --- a/app-editors/imhex/files/imhex-1.10.0-fix-yara-linking.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -93,7 +93,7 @@ - if (WIN32) - target_link_libraries(imhex ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} wsock32 ws2_32 libyara Dwmapi.lib dl) - else () -- target_link_libraries(imhex ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} dl pthread libyara) -+ target_link_libraries(imhex ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} dl pthread yara) - endif () - - createPackage() diff --git a/app-editors/imhex/files/imhex-1.10.0-link-mbedtls.patch b/app-editors/imhex/files/imhex-1.10.0-link-mbedtls.patch deleted file mode 100644 index 087faef0b..000000000 --- a/app-editors/imhex/files/imhex-1.10.0-link-mbedtls.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/plugins/libimhex/CMakeLists.txt -+++ b/plugins/libimhex/CMakeLists.txt -@@ -95,9 +95,9 @@ - - if (APPLE) - find_library(FOUNDATION NAMES Foundation) -- target_link_libraries(libimhex PUBLIC imgui mbedcrypto ${FOUNDATION} nfd fmt-header-only libcurl magic) -+ target_link_libraries(libimhex PUBLIC imgui mbedtls ${FOUNDATION} nfd fmt-header-only libcurl magic) - else () -- target_link_libraries(libimhex PUBLIC imgui mbedcrypto nfd magic) -+ target_link_libraries(libimhex PUBLIC imgui mbedtls nfd magic) - - if (NOT USE_SYSTEM_FMT) - target_link_libraries(libimhex PUBLIC fmt-header-only) diff --git a/app-editors/imhex/files/imhex-1.10.0-no-lnlohmann_json.patch b/app-editors/imhex/files/imhex-1.10.0-no-lnlohmann_json.patch deleted file mode 100644 index 63f77e60f..000000000 --- a/app-editors/imhex/files/imhex-1.10.0-no-lnlohmann_json.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/plugins/libimhex/CMakeLists.txt -+++ b/plugins/libimhex/CMakeLists.txt -@@ -95,9 +95,9 @@ - - if (APPLE) - find_library(FOUNDATION NAMES Foundation) -- target_link_libraries(libimhex PUBLIC imgui nlohmann_json mbedcrypto ${FOUNDATION} nfd fmt-header-only libcurl magic) -+ target_link_libraries(libimhex PUBLIC imgui mbedcrypto ${FOUNDATION} nfd fmt-header-only libcurl magic) - else () -- target_link_libraries(libimhex PUBLIC imgui nlohmann_json mbedcrypto nfd magic) -+ target_link_libraries(libimhex PUBLIC imgui mbedcrypto nfd magic) - - if (NOT USE_SYSTEM_FMT) - target_link_libraries(libimhex PUBLIC fmt-header-only) diff --git a/app-editors/imhex/files/imhex-1.10.1-no-lLLVMDemangle.patch b/app-editors/imhex/files/imhex-1.10.1-no-lLLVMDemangle.patch deleted file mode 100644 index 3aa487ed1..000000000 --- a/app-editors/imhex/files/imhex-1.10.1-no-lLLVMDemangle.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/plugins/builtin/CMakeLists.txt -+++ b/plugins/builtin/CMakeLists.txt -@@ -25,7 +25,7 @@ - # Add additional include directories here # - target_include_directories(${PROJECT_NAME} PRIVATE include) - # Add additional libraries here # --target_link_libraries(${PROJECT_NAME} PRIVATE libimhex LLVMDemangle) -+target_link_libraries(${PROJECT_NAME} PRIVATE libimhex) - - - -@@ -43,4 +43,4 @@ - - if (NOT TARGET libimhex) - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../libimhex ${CMAKE_CURRENT_BINARY_DIR}/plugins/libimhex) --endif() -\ Manca newline alla fine del file -+endif() diff --git a/app-editors/imhex/files/imhex-1.10.1-system-nativefiledialog.patch b/app-editors/imhex/files/imhex-1.10.1-system-nativefiledialog.patch deleted file mode 100644 index 7e6f8d1dc..000000000 --- a/app-editors/imhex/files/imhex-1.10.1-system-nativefiledialog.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/plugins/libimhex/CMakeLists.txt -+++ b/plugins/libimhex/CMakeLists.txt -@@ -5,7 +5,6 @@ - - set(BUILD_SHARED_LIBS OFF) - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../external/ImGui ${CMAKE_CURRENT_BINARY_DIR}/external/ImGui) --add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../external/nativefiledialog ${CMAKE_CURRENT_BINARY_DIR}/external/nativefiledialog EXCLUDE_FROM_ALL) - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../external/microtar ${CMAKE_CURRENT_BINARY_DIR}/external/microtar EXCLUDE_FROM_ALL) - - set(XDGPP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/../../external/xdgpp") diff --git a/app-editors/imhex/files/imhex-1.8.1-fix-yara-linking.patch b/app-editors/imhex/files/imhex-1.8.1-fix-yara-linking.patch deleted file mode 100644 index 54754d241..000000000 --- a/app-editors/imhex/files/imhex-1.8.1-fix-yara-linking.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -93,7 +93,7 @@ - if (WIN32) - target_link_libraries(imhex magic ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} wsock32 ws2_32 libyara) - else () -- target_link_libraries(imhex magic ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} dl pthread libyara) -+ target_link_libraries(imhex magic ${CMAKE_DL_LIBS} capstone LLVMDemangle libimhex ${Python_LIBRARIES} dl pthread yara) - endif () - - createPackage() diff --git a/app-editors/imhex/files/imhex-1.8.1-gcc11.patch b/app-editors/imhex/files/imhex-1.8.1-gcc11.patch deleted file mode 100644 index 7c62768ea..000000000 --- a/app-editors/imhex/files/imhex-1.8.1-gcc11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/plugins/libimhex/include/hex/helpers/utils.hpp -+++ b/plugins/libimhex/include/hex/helpers/utils.hpp -@@ -25,7 +25,7 @@ - #define fopen64 fopen - #define fseeko64 fseek - #define ftello64 ftell --#else -+#elif __cplusplus < 201703L - template<> - struct std::is_integral : public std::true_type { }; - template<> diff --git a/app-editors/imhex/files/imhex-1.8.1-system-nativefiledialog.patch b/app-editors/imhex/files/imhex-1.8.1-system-nativefiledialog.patch deleted file mode 100644 index 185b35469..000000000 --- a/app-editors/imhex/files/imhex-1.8.1-system-nativefiledialog.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/plugins/libimhex/CMakeLists.txt -+++ b/plugins/libimhex/CMakeLists.txt -@@ -12,7 +12,6 @@ - find_package(nlohmann_json REQUIRED) - endif() - --add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../external/nativefiledialog ${CMAKE_CURRENT_BINARY_DIR}/external/nativefiledialog EXCLUDE_FROM_ALL) - if(NOT USE_SYSTEM_FMT) - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../external/fmt ${CMAKE_CURRENT_BINARY_DIR}/external/fmt) - else() -@@ -32,7 +31,7 @@ - pkg_check_modules(LIBCURL REQUIRED IMPORTED_TARGET libcurl) - endif() - --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -lnfd") - - set(CMAKE_SHARED_LIBRARY_PREFIX "") - diff --git a/app-editors/imhex/files/imhex-1.8.1-system-xdgpp.patch b/app-editors/imhex/files/imhex-1.8.1-system-xdgpp.patch deleted file mode 100644 index 511fe67ea..000000000 --- a/app-editors/imhex/files/imhex-1.8.1-system-xdgpp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/plugins/libimhex/CMakeLists.txt -+++ b/plugins/libimhex/CMakeLists.txt -@@ -19,7 +19,7 @@ - find_package(fmt REQUIRED) - endif() - --set(XDGPP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/../../external/xdgpp") -+set(XDGPP_INCLUDE_DIRS "/usr/include") - set(CMAKE_USE_MBEDTLS ON) - set(BUILD_CURL_EXE OFF) - set(FPHSA_NAME_MISMATCHED ON CACHE BOOL "") diff --git a/app-editors/imhex/imhex-1.10.0.ebuild b/app-editors/imhex/imhex-1.10.0.ebuild deleted file mode 100644 index 511463ff0..000000000 --- a/app-editors/imhex/imhex-1.10.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_BUILD_TYPE="Release" -CMAKE_MAKEFILE_GENERATOR="emake" -LLVM_MAX_SLOT=12 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake desktop llvm python-single-r1 xdg-utils - -DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight" -HOMEPAGE="https://github.com/WerWolv/ImHex" -SRC_URI="https://github.com/WerWolv/ImHex/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/ImHex-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - ${PYTHON_DEPS} - app-forensics/yara - >=dev-cpp/nlohmann_json-3.10.2 - dev-cpp/xdgpp - dev-libs/capstone - >=dev-libs/libfmt-8.0.0 - dev-libs/nativefiledialog-extended - dev-libs/openssl - dev-libs/tre - media-libs/freetype - media-libs/glfw - media-libs/glm - net-libs/mbedtls - net-misc/curl - sys-apps/file - sys-devel/llvm:${LLVM_MAX_SLOT} - virtual/libiconv - virtual/libintl -" -RDEPEND="${DEPEND}" -BDEPEND="app-admin/chrpath" - -PATCHES=( - "${FILESDIR}/${PN}-1.8.1-system-xdgpp.patch" - "${FILESDIR}/${PN}-1.8.1-system-nativefiledialog.patch" - "${FILESDIR}/${P}-fix-yara-linking.patch" - "${FILESDIR}/${P}-no-lnlohmann_json.patch" - "${FILESDIR}/${P}-link-mbedtls.patch" -) -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_prepare() { - rm -r external/{curl,fmt,llvm,nativefiledialog,nlohmann_json,xdgpp,yara} || die - cmake_src_prepare -} - -src_configure() { - python-single-r1_pkg_setup - local mycmakeargs=( - -DPROJECT_VERSION="${PV}" - -DPYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" - -DUSE_SYSTEM_CURL=ON - -DUSE_SYSTEM_FMT=ON - -DUSE_SYSTEM_LLVM=ON - -DUSE_SYSTEM_NLOHMANN_JSON=ON - -DUSE_SYSTEM_YARA=ON - ) - cmake_src_configure -} - -src_install() { - # can't use cmake_src_install, doing it manual - dobin "${BUILD_DIR}/${PN}" - insinto "/usr/$(get_libdir)" - doins "${BUILD_DIR}/plugins/builtin/builtin.hexplug" - dolib.so "${BUILD_DIR}/plugins/lib${PN}/lib${PN}.so" - insinto "/usr/share/${PN}" - doins "${S}/res/icon.ico" - doins -r "${S}/res/resources" - - chrpath -d "${ED}/usr/bin/imhex" - chrpath -d "${ED}/usr/$(get_libdir)/builtin.hexplug" - - mypythondir="${D}/$(python_get_sitedir)/imhex" - mkdir -p "${mypythondir}" || die - mv "${S}"/python_libs/lib/* "${mypythondir}" || die - python_optimize "${mypythondir}" - - # create desktop icon - make_desktop_entry "imhex" "ImHex" "/usr/share/${PN}/icon.ico" "X-Editor" - - # install docs - einstalldocs -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/app-editors/imhex/imhex-1.10.1.ebuild b/app-editors/imhex/imhex-1.10.1.ebuild deleted file mode 100644 index baed85f99..000000000 --- a/app-editors/imhex/imhex-1.10.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_BUILD_TYPE="Release" -CMAKE_MAKEFILE_GENERATOR="emake" -LLVM_MAX_SLOT=12 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake desktop llvm python-single-r1 xdg-utils - -DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight" -HOMEPAGE="https://github.com/WerWolv/ImHex" -SRC_URI="https://github.com/WerWolv/ImHex/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/ImHex-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - ${PYTHON_DEPS} - app-forensics/yara - >=dev-cpp/nlohmann_json-3.10.2 - dev-cpp/xdgpp - dev-libs/capstone - >=dev-libs/libfmt-8.0.0 - dev-libs/nativefiledialog-extended - dev-libs/openssl - dev-libs/tre - media-libs/freetype - media-libs/glfw - media-libs/glm - net-libs/mbedtls - net-misc/curl - sys-apps/file - sys-devel/llvm:${LLVM_MAX_SLOT} - virtual/libiconv - virtual/libintl -" -RDEPEND="${DEPEND}" -BDEPEND="app-admin/chrpath" - -PATCHES=( - "${FILESDIR}/${P}-no-lLLVMDemangle.patch" - "${FILESDIR}/${PN}-1.8.1-system-xdgpp.patch" - "${FILESDIR}/${P}-system-nativefiledialog.patch" -) -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_prepare() { - rm -r external/{curl,fmt,llvm,nativefiledialog,nlohmann_json,xdgpp,yara} || die - cmake_src_prepare -} - -src_configure() { - python-single-r1_pkg_setup - local mycmakeargs=( - -DPROJECT_VERSION="${PV}" - -DPYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" - -DUSE_SYSTEM_CURL=ON - -DUSE_SYSTEM_FMT=ON - -DUSE_SYSTEM_LLVM=ON - -DUSE_SYSTEM_NLOHMANN_JSON=ON - -DUSE_SYSTEM_YARA=ON - ) - cmake_src_configure -} - -src_install() { - # can't use cmake_src_install, doing it manual - dobin "${BUILD_DIR}/${PN}" - insinto "/usr/$(get_libdir)" - doins "${BUILD_DIR}/plugins/builtin/builtin.hexplug" - dolib.so "${BUILD_DIR}/plugins/lib${PN}/lib${PN}.so" - insinto "/usr/share/${PN}" - doins "${S}/res/icon.ico" - doins -r "${S}/res/resources" - - chrpath -d "${ED}/usr/bin/imhex" - chrpath -d "${ED}/usr/$(get_libdir)/builtin.hexplug" - - mypythondir="${D}/$(python_get_sitedir)/imhex" - mkdir -p "${mypythondir}" || die - mv "${S}"/python_libs/lib/* "${mypythondir}" || die - python_optimize "${mypythondir}" - - # create desktop icon - make_desktop_entry "imhex" "ImHex" "/usr/share/${PN}/icon.ico" "X-Editor" - - # install docs - einstalldocs -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/app-editors/imhex/imhex-1.8.1-r1.ebuild b/app-editors/imhex/imhex-1.8.1-r1.ebuild deleted file mode 100644 index 72849a7cf..000000000 --- a/app-editors/imhex/imhex-1.8.1-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -CMAKE_BUILD_TYPE="Release" -CMAKE_MAKEFILE_GENERATOR="emake" -LLVM_MAX_SLOT=12 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake desktop llvm python-single-r1 xdg-utils - -DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight" -HOMEPAGE="https://github.com/WerWolv/ImHex" -SRC_URI="https://github.com/WerWolv/ImHex/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/ImHex-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - ${PYTHON_DEPS} - app-forensics/yara - dev-cpp/nlohmann_json - dev-cpp/xdgpp - dev-libs/capstone -