mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Updated SDL from 2.26.3 to 2.26.5
This commit is contained in:
parent
a4ca3e3e19
commit
f6e504fe1f
|
@ -441,7 +441,7 @@ elseif(WIN32)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external/freetype/include
|
${CMAKE_CURRENT_SOURCE_DIR}/external/freetype/include
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external/libgit2/include
|
${CMAKE_CURRENT_SOURCE_DIR}/external/libgit2/include
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml/src
|
${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml/src
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external/SDL2-2.26.3)
|
${CMAKE_CURRENT_SOURCE_DIR}/external/SDL2-2.26.5)
|
||||||
elseif(EMSCRIPTEN)
|
elseif(EMSCRIPTEN)
|
||||||
set(COMMON_INCLUDE_DIRS ${COMMON_INCLUDE_DIRS}
|
set(COMMON_INCLUDE_DIRS ${COMMON_INCLUDE_DIRS}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include
|
${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include
|
||||||
|
|
|
@ -160,26 +160,26 @@ cd ..
|
||||||
echo:
|
echo:
|
||||||
echo Setting up SDL
|
echo Setting up SDL
|
||||||
|
|
||||||
if exist SDL2-2.26.3\ (
|
if exist SDL2-2.26.5\ (
|
||||||
rmdir /S /Q SDL2-2.26.3
|
rmdir /S /Q SDL2-2.26.5
|
||||||
)
|
)
|
||||||
|
|
||||||
curl -LO https://libsdl.org/release/SDL2-devel-2.26.3-VC.zip
|
curl -LO https://libsdl.org/release/SDL2-devel-2.26.5-VC.zip
|
||||||
|
|
||||||
7z x SDL2-devel-2.26.3-VC.zip
|
7z x SDL2-devel-2.26.5-VC.zip
|
||||||
|
|
||||||
if not exist SDL2-2.26.3\ (
|
if not exist SDL2-2.26.5\ (
|
||||||
echo SDL directory is missing, aborting.
|
echo SDL directory is missing, aborting.
|
||||||
cd ..
|
cd ..
|
||||||
goto end
|
goto end
|
||||||
)
|
)
|
||||||
|
|
||||||
cd SDL2-2.26.3
|
cd SDL2-2.26.5
|
||||||
rename include SDL2
|
rename include SDL2
|
||||||
cd ..
|
cd ..
|
||||||
copy /Y SDL2-2.26.3\lib\x64\SDL2.dll ..
|
copy /Y SDL2-2.26.5\lib\x64\SDL2.dll ..
|
||||||
copy /Y SDL2-2.26.3\lib\x64\SDL2.lib ..
|
copy /Y SDL2-2.26.5\lib\x64\SDL2.lib ..
|
||||||
copy /Y SDL2-2.26.3\lib\x64\SDL2main.lib ..
|
copy /Y SDL2-2.26.5\lib\x64\SDL2main.lib ..
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
echo Setting up FFmpeg
|
echo Setting up FFmpeg
|
||||||
|
|
|
@ -103,20 +103,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.26.3-mingw.tar.gz
|
curl -O https://libsdl.org/release/SDL2-devel-2.26.5-mingw.tar.gz
|
||||||
|
|
||||||
tar xvzf SDL2-devel-2.26.3-mingw.tar.gz
|
tar xvzf SDL2-devel-2.26.5-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.26.3 ]; then
|
if [ ! -d SDL2-2.26.5 ]; then
|
||||||
echo "SDL directory is missing, aborting."
|
echo "SDL directory is missing, aborting."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv SDL2-2.26.3/x86_64-w64-mingw32/include/SDL2 SDL2-2.26.3/
|
mv SDL2-2.26.5/x86_64-w64-mingw32/include/SDL2 SDL2-2.26.5/
|
||||||
cp -p SDL2-2.26.3/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
cp -p SDL2-2.26.5/x86_64-w64-mingw32/lib/libSDL2main.a ..
|
||||||
cp -p SDL2-2.26.3/x86_64-w64-mingw32/bin/SDL2.dll ..
|
cp -p SDL2-2.26.5/x86_64-w64-mingw32/bin/SDL2.dll ..
|
||||||
|
|
||||||
echo -e "\nSetting up FFmpeg"
|
echo -e "\nSetting up FFmpeg"
|
||||||
rm -rf ffmpeg-*
|
rm -rf ffmpeg-*
|
||||||
|
|
|
@ -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.26.3
|
SDL_RELEASE_TAG=release-2.26.5
|
||||||
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2600.3
|
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2600.5
|
||||||
|
|
||||||
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.26.3
|
SDL_RELEASE_TAG=release-2.26.5
|
||||||
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2600.3
|
SDL_SHARED_LIBRARY=libSDL2-2.0.so.0.2600.5
|
||||||
|
|
||||||
echo "Building Steam Deck AppImage..."
|
echo "Building Steam Deck AppImage..."
|
||||||
|
|
||||||
|
|
|
@ -201,7 +201,7 @@ if [ ! -d SDL ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd SDL
|
cd SDL
|
||||||
git checkout release-2.26.3
|
git checkout release-2.26.5
|
||||||
ln -s include SDL2
|
ln -s include SDL2
|
||||||
mkdir build
|
mkdir build
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue