diff --git a/scripts/ci-build-mingw.sh b/scripts/ci-build-mingw.sh index 8173aa6..ba4efca 100755 --- a/scripts/ci-build-mingw.sh +++ b/scripts/ci-build-mingw.sh @@ -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