commit:     99a6bc9219ba4fd187ad099660a4f453b12565df
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 20 21:36:33 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Feb 20 21:36:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a6bc92

media-libs/libsdl2: Fix kms USE logic in 2.30.11 and 2.32.0

This relates to EGL, which is a bit confusing because EGL and GLES are different
things, but upstream probably knows best.

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

 media-libs/libsdl2/libsdl2-2.30.11.ebuild | 1 +
 media-libs/libsdl2/libsdl2-2.32.0.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/libsdl2/libsdl2-2.30.11.ebuild 
b/media-libs/libsdl2/libsdl2-2.30.11.ebuild
index 665f62671fd8..c21ff0dcfeef 100644
--- a/media-libs/libsdl2/libsdl2-2.30.11.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.30.11.ebuild
@@ -25,6 +25,7 @@ REQUIRED_USE="
        haptic? ( joystick )
        ibus? ( dbus )
        jack? ( sound )
+       kms? ( || ( gles1 gles2 opengl ) )
        nas? ( sound )
        opengl? ( video )
        pulseaudio? ( sound )

diff --git a/media-libs/libsdl2/libsdl2-2.32.0.ebuild 
b/media-libs/libsdl2/libsdl2-2.32.0.ebuild
index ed73f48b7f42..00268da65efc 100644
--- a/media-libs/libsdl2/libsdl2-2.32.0.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.32.0.ebuild
@@ -25,6 +25,7 @@ REQUIRED_USE="
        haptic? ( joystick )
        ibus? ( dbus )
        jack? ( sound )
+       kms? ( || ( gles1 gles2 opengl ) )
        nas? ( sound )
        opengl? ( video )
        pulseaudio? ( sound )

Reply via email to