From 2428735b66cd8f4ff005f9e09286fb03095055b1 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Mon, 2 Sep 2024 20:08:49 +0200
Subject: [PATCH] Updated SDL to 2.30.6 on Android, Windows, macOS and the
 Linux AppImage builds

---
 tools/Windows_dependencies_setup.bat | 16 ++++++++--------
 tools/create_AppImage.sh             |  4 ++--
 tools/create_AppImage_SteamDeck.sh   |  4 ++--
 tools/macOS_dependencies_setup.sh    |  2 +-
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/tools/Windows_dependencies_setup.bat b/tools/Windows_dependencies_setup.bat
index 87da89bb2..2bded75b4 100644
--- a/tools/Windows_dependencies_setup.bat
+++ b/tools/Windows_dependencies_setup.bat
@@ -306,29 +306,29 @@ cd ..
 echo:
 echo Setting up SDL
 
-if exist SDL2-2.30.5\ (
-  rmdir /S /Q SDL2-2.30.5
+if exist SDL2-2.30.6\ (
+  rmdir /S /Q SDL2-2.30.6
 )
 
 if exist SDL2\ (
   rmdir /S /Q SDL2
 )
 
-if exist SDL2-devel-2.30.5-VC.zip (
-  del SDL2-devel-2.30.5-VC.zip
+if exist SDL2-devel-2.30.6-VC.zip (
+  del SDL2-devel-2.30.6-VC.zip
 )
 
-curl -LO https://libsdl.org/release/SDL2-devel-2.30.5-VC.zip
+curl -LO https://libsdl.org/release/SDL2-devel-2.30.6-VC.zip
 
-7z x SDL2-devel-2.30.5-VC.zip
+7z x SDL2-devel-2.30.6-VC.zip
 
-if not exist SDL2-2.30.5\ (
+if not exist SDL2-2.30.6\ (
   echo SDL directory is missing, aborting.
   cd ..
   goto end
 )
 
-rename SDL2-2.30.5 SDL2
+rename SDL2-2.30.6 SDL2
 
 cd SDL2
 rename include SDL2
diff --git a/tools/create_AppImage.sh b/tools/create_AppImage.sh
index a3c5a900d..229c5b2aa 100755
--- a/tools/create_AppImage.sh
+++ b/tools/create_AppImage.sh
@@ -13,8 +13,8 @@
 # How many CPU threads to use for the compilation.
 JOBS=4
 
-SDL_RELEASE_TAG=release-2.30.5
-SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.3000.5
+SDL_RELEASE_TAG=release-2.30.6
+SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.3000.6
 
 echo "Building AppImage..."
 
diff --git a/tools/create_AppImage_SteamDeck.sh b/tools/create_AppImage_SteamDeck.sh
index 3cca517e9..2fb809ad0 100755
--- a/tools/create_AppImage_SteamDeck.sh
+++ b/tools/create_AppImage_SteamDeck.sh
@@ -13,8 +13,8 @@
 # How many CPU threads to use for the compilation.
 JOBS=4
 
-SDL_RELEASE_TAG=release-2.30.5
-SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.3000.5
+SDL_RELEASE_TAG=release-2.30.6
+SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.3000.6
 
 echo "Building Steam Deck AppImage..."
 
diff --git a/tools/macOS_dependencies_setup.sh b/tools/macOS_dependencies_setup.sh
index 6f28936cb..d7285e3c5 100755
--- a/tools/macOS_dependencies_setup.sh
+++ b/tools/macOS_dependencies_setup.sh
@@ -333,7 +333,7 @@ if [ ! -d SDL ]; then
 fi
 
 cd SDL
-git checkout release-2.30.5
+git checkout release-2.30.6
 ln -s include SDL2
 mkdir build
 cd ..