commit:     4c5c430d0a56eb5eab6a27d86df50b46b488f6c7
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 09:26:27 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 09:33:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5c430d

media-libs/libsdl2: depend on >=wayland-1.20 + scanner

Fails with <1.20 and if wayland-scanner is missing it wouldn't fail
but silently build libsdl2 without wayland support (revbump to
ensure everything is in order and prevent downgrades).

Closes: https://bugs.gentoo.org/831884
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl2/{libsdl2-2.0.20.ebuild => libsdl2-2.0.20-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libsdl2/libsdl2-2.0.20.ebuild 
b/media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild
similarity index 98%
rename from media-libs/libsdl2/libsdl2-2.0.20.ebuild
rename to media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild
index 0e22bf102de2..ac70239d8ce4 100644
--- a/media-libs/libsdl2/libsdl2-2.0.20.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild
@@ -58,7 +58,7 @@ CDEPEND="
        sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
        udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
        wayland? (
-               >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}]
+               >=dev-libs/wayland-1.20[${MULTILIB_USEDEP}]
                >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl(+),gles2,wayland]
                >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}]
        )
@@ -85,6 +85,7 @@ BDEPEND="
                app-doc/doxygen
                media-gfx/graphviz
        )
+       wayland? ( >=dev-util/wayland-scanner-1.20 )
 "
 
 MULTILIB_WRAPPED_HEADERS=(

Reply via email to