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 B0B6F15808B for ; Sat, 31 Aug 2024 11:52:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B97DCE29E6; Sat, 31 Aug 2024 11:52:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6319E29E6 for ; Sat, 31 Aug 2024 11:52:43 +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 756CE3430E9 for ; Sat, 31 Aug 2024 11:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6F551F29 for ; Sat, 31 Aug 2024 11:52:40 +0000 (UTC) From: "Henri Gasc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" Message-ID: <1725105104.4455c1b4b4aa869bd921d357753ae9c84f8dc3d8.gasc@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.35.4-r1.ebuild app-editors/imhex/imhex-1.35.4.ebuild app-editors/imhex/metadata.xml X-VCS-Directories: app-editors/imhex/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 4455c1b4b4aa869bd921d357753ae9c84f8dc3d8 X-VCS-Branch: dev Date: Sat, 31 Aug 2024 11:52:40 +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: 579c45d0-fe61-437d-bdad-70ff0a5f0594 X-Archives-Hash: b193ba2f4093e14faf73215a2697da74 commit: 4455c1b4b4aa869bd921d357753ae9c84f8dc3d8 Author: spacok protonmail com> AuthorDate: Sat Aug 31 11:51:05 2024 +0000 Commit: Henri Gasc eurecom fr> CommitDate: Sat Aug 31 11:51:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4455c1b4 app-editors/imhex: add desktop-portal USE flag Closes: https://bugs.gentoo.org/937117 Signed-off-by: Henri Gasc eurecom.fr> app-editors/imhex/{imhex-1.35.4.ebuild => imhex-1.35.4-r1.ebuild} | 8 ++++---- app-editors/imhex/metadata.xml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app-editors/imhex/imhex-1.35.4.ebuild b/app-editors/imhex/imhex-1.35.4-r1.ebuild similarity index 93% rename from app-editors/imhex/imhex-1.35.4.ebuild rename to app-editors/imhex/imhex-1.35.4-r1.ebuild index 427ad0bc6..07dd5e82d 100644 --- a/app-editors/imhex/imhex-1.35.4.ebuild +++ b/app-editors/imhex/imhex-1.35.4-r1.ebuild @@ -19,7 +19,7 @@ S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -IUSE="+system-llvm test lto" +IUSE="+system-llvm test lto desktop-portal" RESTRICT="!test? ( test )" PATCHES=( @@ -47,7 +47,6 @@ DEPEND=" net-libs/mbedtls:= net-misc/curl sys-apps/file - sys-apps/xdg-desktop-portal sys-libs/zlib virtual/libiconv virtual/libintl @@ -57,6 +56,7 @@ BDEPEND=" system-llvm? ( sys-devel/llvm ) app-admin/chrpath gnome-base/librsvg + desktop-portal? ( sys-apps/xdg-desktop-portal ) " pkg_pretend() { @@ -83,7 +83,6 @@ src_configure() { -D IMHEX_IGNORE_BAD_CLONE=ON \ -D IMHEX_PATTERNS_PULL_MASTER=OFF \ -D IMHEX_IGNORE_BAD_COMPILER=OFF \ - -D IMHEX_USE_GTK_FILE_PICKER=OFF \ -D IMHEX_DISABLE_STACKTRACE=ON \ -D IMHEX_BUNDLE_DOTNET=OFF \ -D IMHEX_ENABLE_LTO=$(usex lto) \ @@ -91,6 +90,7 @@ src_configure() { -D IMHEX_STRICT_WARNINGS=OFF \ -D IMHEX_ENABLE_UNIT_TESTS=$(usex test) \ -D IMHEX_ENABLE_PRECOMPILED_HEADERS=OFF \ + -D IMHEX_USE_GTK_FILE_PICKER=$(usex desktop-portal) \ -D IMHEX_VERSION="${PV}" \ -D PROJECT_VERSION="${PV}" \ -D USE_SYSTEM_CAPSTONE=ON \ @@ -98,7 +98,7 @@ src_configure() { -D USE_SYSTEM_LLVM=$(usex system-llvm) \ -D USE_SYSTEM_NFD=ON \ -D USE_SYSTEM_NLOHMANN_JSON=ON \ - -D USE_SYSTEM_YARA=ON + -D USE_SYSTEM_YARA=ON \ ) cmake_src_configure diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml index 276772b0c..18ad0a756 100644 --- a/app-editors/imhex/metadata.xml +++ b/app-editors/imhex/metadata.xml @@ -12,6 +12,7 @@ Use the system LLVM installation + Use sys-apps/xdg-desktop-portal file picker instead of the GTK one Features