Updated Qt windows pipeline to build and link against SDL 2.0.20 and ffmpeg 5.0

This commit is contained in:
mjbudd77 2022-01-16 06:57:02 -05:00
parent 1acdb31490
commit 7ecff090f2
1 changed files with 8 additions and 8 deletions

View File

@ -21,18 +21,18 @@ mkdir build
cd build
mkdir bin
curl -s -LO http://www.libsdl.org/release/SDL2-devel-2.0.18-VC.zip
curl -s -LO https://github.com/GyanD/codexffmpeg/releases/download/4.4/ffmpeg-4.4-full_build-shared.zip
curl -s -LO http://www.libsdl.org/release/SDL2-devel-2.0.20-VC.zip
curl -s -LO https://github.com/GyanD/codexffmpeg/releases/download/5.0/ffmpeg-5.0-full_build-shared.zip
REM rmdir /q /s SDL2
powershell -command "Expand-Archive" SDL2-devel-2.0.18-VC.zip .
powershell -command "Expand-Archive" ffmpeg-4.4-full_build-shared.zip
powershell -command "Expand-Archive" SDL2-devel-2.0.20-VC.zip .
powershell -command "Expand-Archive" ffmpeg-5.0-full_build-shared.zip
rename SDL2-2.0.18 SDL2
move ffmpeg-4.4-full_build-shared\ffmpeg-4.4-full_build-shared ffmpeg
rmdir ffmpeg-4.4-full_build-shared
del ffmpeg-4.4-full_build-shared.zip
rename SDL2-2.0.20 SDL2
move ffmpeg-5.0-full_build-shared\ffmpeg-5.0-full_build-shared ffmpeg
rmdir ffmpeg-5.0-full_build-shared
del ffmpeg-5.0-full_build-shared.zip
set SDL_INSTALL_PREFIX=%CD%
set FFMPEG_INSTALL_PREFIX=%CD%