ffmpeg-build-script
ffmpeg-build-script copied to clipboard
Script fails unzipping zlib-1.2.13.tar.gz
I tried manually using wget https://zlib.net/fossils/zlib-1.2.13.tar.gz and tar reported it was not a valid zip file. When I looked at the file it looks to be HTML code. Perhaps there's something going on with zlib.net, but this version seems to be ok: https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz.
Same for me. I manually downloaded zip file and copied into package folder and run script. But it's only temp solution. Has anyone fixed it?
I used the version that I listed above and it seemed to work, but no, it's not been fixed yet.
Seems like zlib download is restricted in some countries...
Switching to 1.3.1 was the right solution for me :
if build "zlib" "1.3.1"; then
download "https://github.com/madler/zlib/releases/download/v$CURRENT_PACKAGE_VERSION/zlib-$CURRENT_PACKAGE_VERSION.tar.gz"
execute ./configure --static --prefix="${WORKSPACE}"
execute make -j $MJOBS
execute make install
build_done "zlib" $CURRENT_PACKAGE_VERSION
fi