Update MinGW dependencies

This commit is contained in:
sfan5 2023-04-11 18:19:36 +02:00
parent 2d81374b34
commit 09043e3da7

@ -5,21 +5,19 @@
variant=win32
[[ "$(basename "$CXX")" == "x86_64-"* ]] && variant=win64
libjpeg_version=2.1.2
libpng_version=1.6.37
zlib_version=1.2.11
libjpeg_version=2.1.5.1
libpng_version=1.6.39
zlib_version=1.2.13
mkdir -p libs
pushd libs
libs=$PWD
tmp=
[ "$variant" = win32 ] && tmp=dw2/
[ -e libjpeg.zip ] || \
wget "http://minetest.kitsunemimi.pw/libjpeg-$libjpeg_version-$variant.zip" -O libjpeg.zip
[ -e libpng.zip ] || \
wget "http://minetest.kitsunemimi.pw/${tmp}libpng-$libpng_version-$variant.zip" -O libpng.zip
wget "http://minetest.kitsunemimi.pw/libpng-$libpng_version-$variant.zip" -O libpng.zip
[ -e zlib.zip ] || \
wget "http://minetest.kitsunemimi.pw/${tmp}zlib-$zlib_version-$variant.zip" -O zlib.zip
wget "http://minetest.kitsunemimi.pw/zlib-$zlib_version-$variant.zip" -O zlib.zip
[ -d libjpeg ] || unzip -o libjpeg.zip -d libjpeg
[ -d libpng ] || unzip -o libpng.zip -d libpng
[ -d zlib ] || unzip -o zlib.zip -d zlib