diff --git a/ports/opencv4/0020-miss-openexr.patch b/ports/opencv4/0020-miss-openexr.patch new file mode 100644 index 00000000000000..d776dddf21f6bf --- /dev/null +++ b/ports/opencv4/0020-miss-openexr.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d6bc6de..61b7a02 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -831,6 +831,9 @@ include(cmake/OpenCVFindLibsPerf.cmake) + include(cmake/OpenCVFindLAPACK.cmake) + include(cmake/OpenCVFindProtobuf.cmake) + include(cmake/OpenCVDetectFlatbuffers.cmake) ++if(WITH_OPENEXR) ++ include(cmake/OpenCVFindOpenEXR.cmake) ++endif() + if(WITH_TIMVX) + include(cmake/OpenCVFindTIMVX.cmake) + endif() diff --git a/ports/opencv4/portfile.cmake b/ports/opencv4/portfile.cmake index 5dc61200e82047..47fb0735771c34 100644 --- a/ports/opencv4/portfile.cmake +++ b/ports/opencv4/portfile.cmake @@ -22,6 +22,7 @@ vcpkg_from_github( 0015-fix-freetype.patch 0017-fix-flatbuffers.patch 0019-opencl-kernel.patch + 0020-miss-openexr.patch ) # Disallow accidental build of vendored copies file(REMOVE_RECURSE "${SOURCE_PATH}/3rdparty/openexr") diff --git a/ports/opencv4/vcpkg.json b/ports/opencv4/vcpkg.json index dcf16388ef3eba..9292a8baf91d96 100644 --- a/ports/opencv4/vcpkg.json +++ b/ports/opencv4/vcpkg.json @@ -1,6 +1,7 @@ { "name": "opencv4", "version": "4.10.0", + "port-version": 1, "description": "computer vision library", "homepage": "https://github.com/opencv/opencv", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 892dd78934afe5..5428117a5e23fa 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6666,7 +6666,7 @@ }, "opencv4": { "baseline": "4.10.0", - "port-version": 0 + "port-version": 1 }, "opendnp3": { "baseline": "3.1.1", diff --git a/versions/o-/opencv4.json b/versions/o-/opencv4.json index 16e5c8c791dbd7..d6516a8280fa26 100644 --- a/versions/o-/opencv4.json +++ b/versions/o-/opencv4.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6ba67264448ce7a60b8e109db62270331e657e38", + "version": "4.10.0", + "port-version": 1 + }, { "git-tree": "89c7baedc6a4590a76c9a04cfe65b5a23c53800c", "version": "4.10.0",