commit:     e7d033b43628ae8594b76cf42ad3e5bd8c149c60
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 15:36:00 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 17:01:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d033b4

games-emulation/ppsspp: put wayland_wsi behind wayland USE

Bug: https://bugs.gentoo.org/914161
Closes: https://bugs.gentoo.org/924250
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../ppsspp/{ppsspp-1.17.1.ebuild => ppsspp-1.17.1-r1.ebuild}       | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-emulation/ppsspp/ppsspp-1.17.1.ebuild 
b/games-emulation/ppsspp/ppsspp-1.17.1-r1.ebuild
similarity index 92%
rename from games-emulation/ppsspp/ppsspp-1.17.1.ebuild
rename to games-emulation/ppsspp/ppsspp-1.17.1-r1.ebuild
index b98e38fb57a1..ea035438b7b6 100644
--- a/games-emulation/ppsspp/ppsspp-1.17.1.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.17.1-r1.ebuild
@@ -23,7 +23,7 @@ fi
 
 LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
 SLOT="0"
-IUSE="discord qt5 test"
+IUSE="discord qt5 test wayland"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -43,7 +43,9 @@ RDEPEND="
                dev-qt/qtopengl:5[-gles2-only]
                dev-qt/qtwidgets:5[-gles2-only]
        )
-       !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
+       !qt5? (
+               media-libs/libsdl2[X,opengl,sound,video,wayland?]
+       )
 "
 DEPEND="
        ${RDEPEND}
@@ -74,6 +76,7 @@ src_configure() {
                -DUSE_SYSTEM_SNAPPY=ON
                -DUSE_SYSTEM_ZSTD=ON
                -DUSE_DISCORD=$(usex discord)
+               -DUSE_WAYLAND_WSI=$(usex wayland)
                -DUSING_QT_UI=$(usex qt5)
                -DUNITTEST=$(usex test)
        )

Reply via email to