From 58ae20210b21fca12f907c8d34cc828dd5d6a1f9 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sun, 9 Aug 2026 21:32:03 +0300
Subject: [PATCH 51/51] 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 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/platforms/windows/installer_cross/meson-winbuild.sh b/platforms/windows/installer_cross/meson-winbuild.sh
index 5a461cf6a9..54259119d9 100755
--- a/platforms/windows/installer_cross/meson-winbuild.sh
+++ b/platforms/windows/installer_cross/meson-winbuild.sh
@@ -32,9 +32,11 @@ fi
 
 GUI="$2"
 
-if test "${GUI}" != "gtk3.22" && test "${GUI}" != "gtk4" &&
+if test "${GUI}" != "gtk3.22" &&
+   test "${GUI}" != "gtk4" &&
    test "${GUI}" != "gtk4x" &&
    test "${GUI}" != "sdl2" &&
+   test "${GUI}" != "sdl3" &&
    test "${GUI}" != "qt6" &&
    test "${GUI}" != "qt6x" &&
    test "${GUI}" != "ruledit" ; then
@@ -91,6 +93,8 @@ case "${GUI}" in
   gtk4) FCMP="gtk4" ;;
   gtk4x) FCMP="gtk4x" ;;
   sdl2) FCMP="gtk4" ;;
+  sdl3) FCMP="gtk4"
+        AUDIO="sdl3" ;;
   qt6) CLIENT="qt"
        FCMP="qt"
        TOOLS="${TOOLS},ruledit"
-- 
2.53.0

