mingw-setup: Set mingw SDL2 version to 2.0.10

This commit is contained in:
Tobias 2020-04-04 19:39:32 +02:00 committed by GitHub
parent 9d6d9c6147
commit e8c15b0fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,14 @@ wget -q "${MINGW_URL}" -O 'mingw.7z'
7z x 'mingw.7z' "${TARGET_DIR}"lib{mf,mfplat,mfuuid}.a
cp -rv "${TARGET_DIR}"/* '/usr/x86_64-w64-mingw32/lib/'
# SDL2
SDL2_VER='2.0.10'
wget "https://www.libsdl.org/release/SDL2-devel-${SDL2_VER}-mingw.tar.gz"
tar -zxf "SDL2-devel-${SDL2_VER}-mingw.tar.gz"
cd SDL2-${SDL2_VER}/
make install-package arch=x86_64-w64-mingw32 prefix=/usr/x86_64-w64-mingw32;
cd ..
# ffmpeg
FFMPEG_VER='4.1'
for i in 'shared' 'dev'; do