commit:     896eeb6fec5ad8fb9d1cd2e193f33addb515b18e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May  3 15:55:36 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May  3 16:37:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896eeb6f

games-util/slade: Allow use of app-arch/7zip instead of app-arch/p7zip

app-arch/zip can also be used, but it will try a 7zip variant first.

Closes: https://bugs.gentoo.org/955098
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-util/slade/slade-3.2.7.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-util/slade/slade-3.2.7.ebuild 
b/games-util/slade/slade-3.2.7.ebuild
index 542fcf989245..92cbd7d1ad02 100644
--- a/games-util/slade/slade-3.2.7.ebuild
+++ b/games-util/slade/slade-3.2.7.ebuild
@@ -41,8 +41,12 @@ RDEPEND="
 "
 
 BDEPEND="
-       app-arch/p7zip
        virtual/pkgconfig
+       || (
+               app-arch/zip
+               app-arch/p7zip
+               app-arch/7zip
+       )
 "
 
 PATCHES=(
@@ -72,6 +76,7 @@ src_configure() {
                -DUSE_SYSTEM_DUMB=ON
                -DUSE_SYSTEM_FMT=ON
                -DWX_GTK3=ON
+               -DZIPTOOL_7Z_EXECUTABLE=$(type -P 7z 7zz | head -n1)
        )
 
        setup-wxwidgets

Reply via email to