diff --git a/bucket/opencv.json b/bucket/opencv.json index 9c60507f3ebb9..68428f1013469 100644 --- a/bucket/opencv.json +++ b/bucket/opencv.json @@ -1,31 +1,26 @@ { - "version": "4.12.0", + "version": "5.0.0", "description": "Open Source Computer Vision Library", "homepage": "https://opencv.org/", "license": "Apache-2.0", "architecture": { "64bit": { - "url": "https://github.com/opencv/opencv/releases/download/4.12.0/opencv-4.12.0-windows.exe#/dl.7z", - "hash": "b753b14d880b9bc8d89d6acd3b665c040baec0211078435432fcae117db707af" + "url": "https://github.com/opencv/opencv/releases/download/5.0.0/opencv-5.0.0-windows.exe#/dl.7z", + "hash": "9c6c1fcea58acdf06edba13148b2246e00c2658143fa51e61ecd370db8c39f63", + "env_add_path": "x64\\vc16\\bin", + "env_set": { + "OPENCV_DIR": "$dir\\x64\\vc16" + } } }, "extract_dir": "opencv\\build", - "env_set": { - "OPENCV_DIR": "$dir\\x64\\vc16" - }, - "env_add_path": "x64\\vc16\\bin", "checkver": { - "url": "https://opencv.org/releases/", - "regex": "\\*\\sOpenCV – ([\\d.]+)" + "github": "https://github.com/opencv/opencv" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/opencv/opencv/releases/download/$version/opencv-$version-windows.exe#/dl.7z", - "hash": { - "url": "https://github.com/opencv/opencv/releases", - "regex": "$sha256\\sopencv-$version-windows.exe" - } + "url": "https://github.com/opencv/opencv/releases/download/$version/opencv-$version-windows.exe#/dl.7z" } } }