mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Updated SDL from 2.24.0 to 2.24.1
This commit is contained in:
parent
d729bad411
commit
5f5e223e77
|
@ -140,26 +140,26 @@ cd ..
|
|||
echo:
|
||||
echo Setting up SDL
|
||||
|
||||
if exist SDL2-2.24.0\ (
|
||||
rmdir /S /Q SDL2-2.24.0
|
||||
if exist SDL2-2.24.1\ (
|
||||
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.
|
||||
cd ..
|
||||
goto end
|
||||
)
|
||||
|
||||
cd SDL2-2.24.0
|
||||
cd SDL2-2.24.1
|
||||
rename include SDL2
|
||||
cd ..
|
||||
copy /Y SDL2-2.24.0\lib\x64\SDL2.dll ..
|
||||
copy /Y SDL2-2.24.0\lib\x64\SDL2.lib ..
|
||||
copy /Y SDL2-2.24.0\lib\x64\SDL2main.lib ..
|
||||
copy /Y SDL2-2.24.1\lib\x64\SDL2.dll ..
|
||||
copy /Y SDL2-2.24.1\lib\x64\SDL2.lib ..
|
||||
copy /Y SDL2-2.24.1\lib\x64\SDL2main.lib ..
|
||||
|
||||
echo:
|
||||
echo Setting up FFmpeg
|
||||
|
|
|
@ -83,20 +83,20 @@ cd ..
|
|||
echo -e "\nSetting up SDL"
|
||||
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.
|
||||
sleep 1
|
||||
|
||||
if [ ! -d SDL2-2.24.0 ]; then
|
||||
if [ ! -d SDL2-2.24.1 ]; then
|
||||
echo "SDL directory is missing, aborting."
|
||||
exit
|
||||
fi
|
||||
|
||||
mv SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2 SDL2-2.24.0/
|
||||
cp -p SDL2-2.24.0/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
||||
cp -p SDL2-2.24.0/x86_64-w64-mingw32/bin/SDL2.dll ..
|
||||
mv SDL2-2.24.1/x86_64-w64-mingw32/include/SDL2 SDL2-2.24.1/
|
||||
cp -p SDL2-2.24.1/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
||||
cp -p SDL2-2.24.1/x86_64-w64-mingw32/bin/SDL2.dll ..
|
||||
|
||||
echo -e "\nSetting up FFmpeg"
|
||||
rm -rf ffmpeg-*
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# How many CPU threads to use for the compilation.
|
||||
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
|
||||
|
||||
echo "Building AppImage..."
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# How many CPU threads to use for the compilation.
|
||||
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
|
||||
|
||||
echo "Building Steam Deck AppImage..."
|
||||
|
|
|
@ -187,7 +187,7 @@ if [ ! -d SDL ]; then
|
|||
fi
|
||||
|
||||
cd SDL
|
||||
git checkout release-2.24.0
|
||||
git checkout release-2.24.1
|
||||
ln -s include SDL2
|
||||
mkdir build
|
||||
cd ..
|
||||
|
|
Loading…
Reference in a new issue