Updated SDL from 2.24.0 to 2.24.1

This commit is contained in:
Leon Styhre 2022-10-30 17:12:18 +01:00
parent d729bad411
commit 5f5e223e77
5 changed files with 18 additions and 18 deletions

View file

@ -140,26 +140,26 @@ cd ..
echo: echo:
echo Setting up SDL echo Setting up SDL
if exist SDL2-2.24.0\ ( if exist SDL2-2.24.1\ (
rmdir /S /Q SDL2-2.24.0 rmdir /S /Q SDL2-2.24.1
) )
curl -LO https://libsdl.org/release/SDL2-devel-2.24.0-VC.zip curl -LO https://libsdl.org/release/SDL2-devel-2.24.1-VC.zip
7z x SDL2-devel-2.24.0-VC.zip 7z x SDL2-devel-2.24.1-VC.zip
if not exist SDL2-2.24.0\ ( if not exist SDL2-2.24.1\ (
echo SDL directory is missing, aborting. echo SDL directory is missing, aborting.
cd .. cd ..
goto end goto end
) )
cd SDL2-2.24.0 cd SDL2-2.24.1
rename include SDL2 rename include SDL2
cd .. cd ..
copy /Y SDL2-2.24.0\lib\x64\SDL2.dll .. copy /Y SDL2-2.24.1\lib\x64\SDL2.dll ..
copy /Y SDL2-2.24.0\lib\x64\SDL2.lib .. copy /Y SDL2-2.24.1\lib\x64\SDL2.lib ..
copy /Y SDL2-2.24.0\lib\x64\SDL2main.lib .. copy /Y SDL2-2.24.1\lib\x64\SDL2main.lib ..
echo: echo:
echo Setting up FFmpeg echo Setting up FFmpeg

View file

@ -83,20 +83,20 @@ cd ..
echo -e "\nSetting up SDL" echo -e "\nSetting up SDL"
rm -rf SDL2-* rm -rf SDL2-*
curl -O https://libsdl.org/release/SDL2-devel-2.24.0-mingw.tar.gz curl -O https://libsdl.org/release/SDL2-devel-2.24.1-mingw.tar.gz
tar xvzf SDL2-devel-2.24.0-mingw.tar.gz tar xvzf SDL2-devel-2.24.1-mingw.tar.gz
# Needed due to some kind of file system race condition that sometimes occurs on Windows. # Needed due to some kind of file system race condition that sometimes occurs on Windows.
sleep 1 sleep 1
if [ ! -d SDL2-2.24.0 ]; then if [ ! -d SDL2-2.24.1 ]; then
echo "SDL directory is missing, aborting." echo "SDL directory is missing, aborting."
exit exit
fi fi
mv SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2 SDL2-2.24.0/ mv SDL2-2.24.1/x86_64-w64-mingw32/include/SDL2 SDL2-2.24.1/
cp -p SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a .. cp -p SDL2-2.24.1/x86_64-w64-mingw32/lib/libSDL2main.a ..
cp -p SDL2-2.24.0/x86_64-w64-mingw32/bin/SDL2.dll .. cp -p SDL2-2.24.1/x86_64-w64-mingw32/bin/SDL2.dll ..
echo -e "\nSetting up FFmpeg" echo -e "\nSetting up FFmpeg"
rm -rf ffmpeg-* rm -rf ffmpeg-*

View file

@ -17,7 +17,7 @@
# How many CPU threads to use for the compilation. # How many CPU threads to use for the compilation.
JOBS=4 JOBS=4
SDL_RELEASE_TAG=release-2.24.0 SDL_RELEASE_TAG=release-2.24.1
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2400.0 SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2400.0
echo "Building AppImage..." echo "Building AppImage..."

View file

@ -13,7 +13,7 @@
# How many CPU threads to use for the compilation. # How many CPU threads to use for the compilation.
JOBS=4 JOBS=4
SDL_RELEASE_TAG=release-2.24.0 SDL_RELEASE_TAG=release-2.24.1
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2400.0 SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2400.0
echo "Building Steam Deck AppImage..." echo "Building Steam Deck AppImage..."

View file

@ -187,7 +187,7 @@ if [ ! -d SDL ]; then
fi fi
cd SDL cd SDL
git checkout release-2.24.0 git checkout release-2.24.1
ln -s include SDL2 ln -s include SDL2
mkdir build mkdir build
cd .. cd ..