Update OpenCV to 4.14.0 (#16851)

Update OpenCV from 4.6.0 to 4.14.0.

- Drop 0001-vs.patch. 4.14.0 already detects the VS 2022 and VS 2026 runtimes, so OpenCV now builds with no patches.
- Turn off three options that 4.14.0 enables by default: AVIF (it would link a system libavif), the new GIF decoder, and KleidiCV (downloaded at configure time on aarch64).
- Build OpenCV with -fno-delayed-template-parsing under clang-cl, so softfloat.cpp compiles for Windows ARM64.
- Point the Flatpak manifest at the 4.14.0 tarball.

Behavior change: the PNG reader rejects a few malformed files that 4.6 loaded.
This commit is contained in:
Kris Austin authored and GitHub committed 2026-10-25 21:57:10 -05:00
1 parent 4804b54cd1
commit 1008a47870
3 files changed
+16 -62

No files matched your search

@@ -286,10 +286,10 @@ modules:
sha256: 7c033d917ee8f040c0512d289dcc5f02c148889d5bac17c3e25639accb44f0da
dest: external-packages/OCCT
# OpenCV 4.6.0
# OpenCV 4.14.0
- type: file
url: https://github.com/opencv/opencv/archive/refs/tags/4.6.0.tar.gz
sha256: 1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277
url: https://github.com/opencv/opencv/archive/refs/tags/4.14.0.tar.gz
sha256: ee8fb9b30eb60850431b4656447080e3737b56e45719c92b67f245950609f86e
dest: external-packages/OpenCV
# CPython 3.12.13