vcpkg/ports/ffmpeg
Ice0 c6f2ab8e67
[ffmpeg] fixed build on Windows ARM (#27295)
* [ffmpeg] fixed build on Windows ARM

Currently build fails with the error:
```
Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:arm64-windows...
-- Using cached ffmpeg-ffmpeg-n4.4.1.tar.gz.
-- Cleaning sources at C:/projects/synfig-arm/vcpkg/buildtrees/ffmpeg/src/n4.4.1-9dd22c1484.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/projects/synfig-arm/vcpkg/downloads/ffmpeg-ffmpeg-n4.4.1.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
...
-- Downloading https://repo.msys2.org/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirror.selfnet.de/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz;https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz -> msys-gmp-6.2.0-1-x86_64.pkg.tar.xz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Downloading https://repo.msys2.org/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Download failed -- retrying after 1000 ms.
[DEBUG] Download failed -- retrying after 2000 ms.
[DEBUG] Download failed -- retrying after 4000 ms.
[DEBUG] Downloading https://mirror.selfnet.de/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz
[DEBUG] Download failed -- retrying after 1000 ms.
[DEBUG] Download failed -- retrying after 2000 ms.
[DEBUG] Download failed -- retrying after 4000 ms.
Error: Failed to download from mirror set:
https://repo.msys2.org/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12007
https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12007
https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12007
https://mirror.bit.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12007
https://mirror.selfnet.de/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: failed: status code 404
https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12029
https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12029
https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12029
https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz: WinHttpSendRequest() failed: 12029
```

This happens because MSYS2 has switched to zstd compression and
`https://repo.msys2.org/msys/x86_64/gmp-6.2.0-1-x86_64.pkg.tar.xz`
already removed from the MSYS2 repository.

Also I bumped other dependencies too.

* [ffmpeg] bump port-version
2022-10-19 14:17:48 -07:00
..
0001-create-lib-libraries.patch
0003-fix-windowsinclude.patch
0004-fix-debug-build.patch [hpx] add some features, fix some bugs (#25059) 2022-09-19 12:30:40 -07:00
0006-fix-StaticFeatures.patch
0007-fix-lib-naming.patch
0009-Fix-fdk-detection.patch
0010-Fix-x264-detection.patch
0011-Fix-x265-detection.patch
0012-Fix-ssl-110-detection.patch
0013-define-WINVER.patch
0014-avfilter-dependency-fix.patch
0015-Fix-xml2-detection.patch
0016-configure-dnn-needs-avformat.patch
0017-Patch-for-ticket-9019-CUDA-Compile-Broken-Using-MSVC.patch
0018-libaom-Dont-use-aom_codec_av1_dx_algo.patch
0019-libx264-Do-not-explicitly-set-X264_API_IMPORTS.patch
0020-fix-aarch64-libswscale.patch Libswscale aarch64 fix (#26404) 2022-08-19 13:42:29 -07:00
0021-fix-sdl2-version-check.patch [sdl2] update to 2.24.0 (#26436) 2022-08-31 13:34:35 -07:00
build.sh.in
FindFFMPEG.cmake.in
portfile.cmake [ffmpeg] fixed build on Windows ARM (#27295) 2022-10-19 14:17:48 -07:00
usage
vcpkg-cmake-wrapper.cmake
vcpkg.json [ffmpeg] fixed build on Windows ARM (#27295) 2022-10-19 14:17:48 -07:00