mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 01:25:38 +00:00
Updated SDL to 2.28.4 on Windows, macOS and the Linux AppImage builds
This commit is contained in:
parent
d6b26e174c
commit
686056ca34
|
@ -230,29 +230,29 @@ cd ..
|
||||||
echo:
|
echo:
|
||||||
echo Setting up SDL
|
echo Setting up SDL
|
||||||
|
|
||||||
if exist SDL2-2.28.3\ (
|
if exist SDL2-2.28.4\ (
|
||||||
rmdir /S /Q SDL2-2.28.3
|
rmdir /S /Q SDL2-2.28.4
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist SDL2\ (
|
if exist SDL2\ (
|
||||||
rmdir /S /Q SDL2
|
rmdir /S /Q SDL2
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist SDL2-devel-2.28.3-VC.zip (
|
if exist SDL2-devel-2.28.4-VC.zip (
|
||||||
del SDL2-devel-2.28.3-VC.zip
|
del SDL2-devel-2.28.4-VC.zip
|
||||||
)
|
)
|
||||||
|
|
||||||
curl -LO https://libsdl.org/release/SDL2-devel-2.28.3-VC.zip
|
curl -LO https://libsdl.org/release/SDL2-devel-2.28.4-VC.zip
|
||||||
|
|
||||||
7z x SDL2-devel-2.28.3-VC.zip
|
7z x SDL2-devel-2.28.4-VC.zip
|
||||||
|
|
||||||
if not exist SDL2-2.28.3\ (
|
if not exist SDL2-2.28.4\ (
|
||||||
echo SDL directory is missing, aborting.
|
echo SDL directory is missing, aborting.
|
||||||
cd ..
|
cd ..
|
||||||
goto end
|
goto end
|
||||||
)
|
)
|
||||||
|
|
||||||
rename SDL2-2.28.3 SDL2
|
rename SDL2-2.28.4 SDL2
|
||||||
|
|
||||||
cd SDL2
|
cd SDL2
|
||||||
rename include SDL2
|
rename include SDL2
|
||||||
|
|
|
@ -125,18 +125,18 @@ 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.28.3-mingw.tar.gz
|
curl -O https://libsdl.org/release/SDL2-devel-2.28.4-mingw.tar.gz
|
||||||
|
|
||||||
tar xvzf SDL2-devel-2.28.3-mingw.tar.gz
|
tar xvzf SDL2-devel-2.28.4-mingw.tar.gz
|
||||||
|
|
||||||
if [ ! -d SDL2-2.28.3 ]; then
|
if [ ! -d SDL2-2.28.4 ]; then
|
||||||
echo "SDL directory is missing, aborting."
|
echo "SDL directory is missing, aborting."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
mv SDL2-2.28.3 SDL2
|
mv SDL2-2.28.4 SDL2
|
||||||
|
|
||||||
mv SDL2/x86_64-w64-mingw32/include/SDL2 SDL2/
|
mv SDL2/x86_64-w64-mingw32/include/SDL2 SDL2/
|
||||||
cp -p SDL2/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
cp -p SDL2/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
# 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.28.3
|
SDL_RELEASE_TAG=release-2.28.4
|
||||||
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2800.3
|
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2800.4
|
||||||
|
|
||||||
echo "Building AppImage..."
|
echo "Building AppImage..."
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
# 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.28.3
|
SDL_RELEASE_TAG=release-2.28.4
|
||||||
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2800.3
|
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2800.4
|
||||||
|
|
||||||
echo "Building Steam Deck AppImage..."
|
echo "Building Steam Deck AppImage..."
|
||||||
|
|
||||||
|
|
|
@ -280,7 +280,7 @@ if [ ! -d SDL ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd SDL
|
cd SDL
|
||||||
git checkout release-2.28.3
|
git checkout release-2.28.4
|
||||||
ln -s include SDL2
|
ln -s include SDL2
|
||||||
mkdir build
|
mkdir build
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue