From bed83e580a0dac01b0d26608fadec3abb57932f7 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sun, 9 Aug 2026 21:38:52 +0300
Subject: [PATCH 28/28] meson-winbuild.sh: Add support for building sdl3-client

Building sdl3-client requires not-yet-released crosser-2.12,
but existing guis continue to build with crosser-2.11.

See RM #2128

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 platforms/windows/installer_cross/meson-winbuild.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/platforms/windows/installer_cross/meson-winbuild.sh b/platforms/windows/installer_cross/meson-winbuild.sh
index 1f1441e84c..f85301fd52 100755
--- a/platforms/windows/installer_cross/meson-winbuild.sh
+++ b/platforms/windows/installer_cross/meson-winbuild.sh
@@ -26,6 +26,7 @@ GUI="$2"
 if test "${GUI}" != "gtk3.22" &&
    test "${GUI}" != "gtk4" &&
    test "${GUI}" != "sdl2" &&
+   test "${GUI}" != "sdl3" &&
    test "${GUI}" != "qt6" &&
    test "${GUI}" != "qt6x" &&
    test "${GUI}" != "ruledit" ; then
@@ -85,6 +86,8 @@ case "${GUI}" in
   gtk3.22) FCMP="gtk3" ;;
   gtk4) FCMP="gtk4" ;;
   sdl2) FCMP="gtk4" ;;
+  sdl3) FCMP="gtk4"
+        AUDIO="sdl3" ;;
   qt6) CLIENT="qt"
        FCMP="qt"
        TOOLS="${TOOLS},ruledit"
-- 
2.53.0

