From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/imhex/
Date: Sat, 31 Aug 2024 13:06:00 +0000 (UTC) [thread overview]
Message-ID: <1725105104.4455c1b4b4aa869bd921d357753ae9c84f8dc3d8.davidroman@gentoo> (raw)
commit: 4455c1b4b4aa869bd921d357753ae9c84f8dc3d8
Author: spacok <spacok <AT> protonmail <DOT> com>
AuthorDate: Sat Aug 31 11:51:05 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
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 <gasc <AT> 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 @@
</upstream>
<use>
<flag name="system-llvm">Use the system LLVM installation</flag>
+ <flag name="desktop-portal">Use sys-apps/xdg-desktop-portal file picker instead of the GTK one</flag>
</use>
<longdescription lang="en">
Features
next reply other threads:[~2024-08-31 13:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 13:06 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-01 8:45 [gentoo-commits] repo/proj/guru:master commit in: app-editors/imhex/ David Roman
2024-12-30 15:30 Julien Roy
2024-04-11 16:22 Julien Roy
2024-03-11 17:31 David Roman
2023-06-26 22:01 Haelwenn Monnier
2023-04-26 9:44 Florian Schmaus
2023-04-23 8:40 Florian Schmaus
2023-04-19 7:32 Florian Schmaus
2023-01-10 13:59 Florian Schmaus
2022-09-26 9:48 Andrew Ammerlaan
2022-09-08 9:31 Andrew Ammerlaan
2022-09-08 9:31 Andrew Ammerlaan
2022-09-08 9:31 Andrew Ammerlaan
2022-08-24 15:52 Ronny Gutbrod
2022-05-02 7:17 Florian Schmaus
2021-10-06 1:13 Theo Anderson
2021-07-07 14:02 Florian Schmaus
2021-07-05 15:48 Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725105104.4455c1b4b4aa869bd921d357753ae9c84f8dc3d8.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox