(Windows) The dependency setup scripts now properly re-download all files

This commit is contained in:
Leon Styhre 2023-06-25 15:20:56 +02:00
parent f522c67a5c
commit 54f006c404
2 changed files with 30 additions and 2 deletions

View file

@ -43,6 +43,10 @@ if exist curl\ (
rmdir /S /Q curl rmdir /S /Q curl
) )
if exist curl-8.1.2_3-win64-mingw.zip (
del curl-8.1.2_3-win64-mingw.zip
)
curl -O https://curl.se/windows/dl-8.1.2_3/curl-8.1.2_3-win64-mingw.zip curl -O https://curl.se/windows/dl-8.1.2_3/curl-8.1.2_3-win64-mingw.zip
7z x curl-8.1.2_3-win64-mingw.zip 7z x curl-8.1.2_3-win64-mingw.zip
@ -77,6 +81,10 @@ if exist glew\ (
rmdir /S /Q glew rmdir /S /Q glew
) )
if exist glew-2.1.0-win32.zip (
del glew-2.1.0-win32.zip
)
curl -LO https://downloads.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0-win32.zip curl -LO https://downloads.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0-win32.zip
7z x glew-2.1.0-win32.zip 7z x glew-2.1.0-win32.zip
@ -118,6 +126,10 @@ if exist FreeImage\ (
rmdir /S /Q FreeImage rmdir /S /Q FreeImage
) )
if exist FreeImage3180Win32Win64.zip (
del FreeImage3180Win32Win64.zip
)
curl -LO https://downloads.sourceforge.net/project/freeimage/Binary%%20Distribution/3.18.0/FreeImage3180Win32Win64.zip curl -LO https://downloads.sourceforge.net/project/freeimage/Binary%%20Distribution/3.18.0/FreeImage3180Win32Win64.zip
7z x FreeImage3180Win32Win64.zip 7z x FreeImage3180Win32Win64.zip
@ -161,6 +173,10 @@ if exist poppler\ (
rmdir /S /Q poppler rmdir /S /Q poppler
) )
if exist Release-23.05.0-0.zip (
del Release-23.05.0-0.zip
)
curl -LO https://github.com/oschwartz10612/poppler-windows/releases/download/v23.05.0-0/Release-23.05.0-0.zip curl -LO https://github.com/oschwartz10612/poppler-windows/releases/download/v23.05.0-0/Release-23.05.0-0.zip
7z x Release-23.05.0-0.zip 7z x Release-23.05.0-0.zip
@ -222,6 +238,10 @@ if exist SDL2\ (
rmdir /S /Q SDL2 rmdir /S /Q SDL2
) )
if exist SDL2-devel-2.28.0-VC.zip (
del SDL2-devel-2.28.0-VC.zip
)
curl -LO https://libsdl.org/release/SDL2-devel-2.28.0-VC.zip curl -LO https://libsdl.org/release/SDL2-devel-2.28.0-VC.zip
7z x SDL2-devel-2.28.0-VC.zip 7z x SDL2-devel-2.28.0-VC.zip
@ -252,6 +272,10 @@ if exist ffmpeg\ (
rmdir /S /Q ffmpeg rmdir /S /Q ffmpeg
) )
if exist ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip (
del ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip
)
:: This package should be available for download for two years. :: This package should be available for download for two years.
curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2023-05-31-12-47/ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2023-05-31-12-47/ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip
7z x ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip 7z x ffmpeg-n6.0-22-g549430e14d-win64-gpl-shared-6.0.zip
@ -281,6 +305,10 @@ copy /Y ffmpeg\lib\swscale.lib ..
echo: echo:
echo Setting up OpenSSL echo Setting up OpenSSL
if exist fWin64OpenSSL_Light-1_1_1m.exe (
del Win64OpenSSL_Light-1_1_1m.exe
)
if not exist "C:\Program Files\OpenSSL-Win64\libcrypto-1_1-x64.dll" ( if not exist "C:\Program Files\OpenSSL-Win64\libcrypto-1_1-x64.dll" (
curl -O https://slproweb.com/download/Win64OpenSSL_Light-1_1_1m.exe curl -O https://slproweb.com/download/Win64OpenSSL_Light-1_1_1m.exe
:: Run the installer. :: Run the installer.

View file

@ -63,7 +63,7 @@ mkdir build
cd .. cd ..
echo -e "\nSetting up FreeImage" echo -e "\nSetting up FreeImage"
rm -rf FreeImage rm -rf FreeImage*
curl -LO https://downloads.sourceforge.net/project/freeimage/Binary%20Distribution/3.18.0/FreeImage3180Win32Win64.zip curl -LO https://downloads.sourceforge.net/project/freeimage/Binary%20Distribution/3.18.0/FreeImage3180Win32Win64.zip
unzip FreeImage3180Win32Win64.zip unzip FreeImage3180Win32Win64.zip
@ -91,7 +91,7 @@ mkdir build
cd .. cd ..
echo -e "\nSetting up Poppler" echo -e "\nSetting up Poppler"
rm -rf poppler* rm -rf [pP]oppler*
curl -JO https://gitlab.com/es-de/emulationstation-de/-/package_files/83268133/download curl -JO https://gitlab.com/es-de/emulationstation-de/-/package_files/83268133/download
unzip Poppler_Windows_MinGW_23.06.0-1.zip unzip Poppler_Windows_MinGW_23.06.0-1.zip