diff --git a/pkgs/o/opencv.lua b/pkgs/o/opencv.lua index aceec65..76d85cf 100644 --- a/pkgs/o/opencv.lua +++ b/pkgs/o/opencv.lua @@ -30,6 +30,12 @@ -- command past cmd.exe's 8191-char ceiling under 0.0.101; 0.0.102 drops the -- `cmd /c` redirect wrapper (clang-scan-deps -o) and restores the 32767 limit. -- +-- 0.0.10: the per-glob flag tables moved into OS-conditional +-- [target.'cfg(...)'.build.flags] sections (mcpp#258, same 0.0.102 floor) — +-- entries whose predicate does not match the resolved target never enter the +-- glob table, so consumer builds no longer emit the ~26 structural dead-glob +-- warnings (windows stub globs + neon TUs on linux, symmetric elsewhere). +-- package = { spec = "1", name = "opencv", @@ -41,6 +47,13 @@ package = { xpm = { linux = { + ["0.0.10"] = { + url = { + GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz", + }, + sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801", + }, ["0.0.9"] = { url = { GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz", @@ -50,6 +63,13 @@ package = { }, }, macosx = { + ["0.0.10"] = { + url = { + GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz", + }, + sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801", + }, ["0.0.9"] = { url = { GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz", @@ -59,6 +79,13 @@ package = { }, }, windows = { + ["0.0.10"] = { + url = { + GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/opencv/releases/download/v0.0.10/opencv-m-0.0.10.tar.gz", + }, + sha256 = "4a8cb551e6a9a1f39c2a70fc1fdd2719200a94fbb5b8d50f7e99e3e88c9ab801", + }, ["0.0.9"] = { url = { GLOBAL = "https://github.com/Sunrisepeak/opencv-m/archive/refs/tags/v0.0.9.tar.gz", diff --git a/tests/examples/opencv-module-dnn/mcpp.toml b/tests/examples/opencv-module-dnn/mcpp.toml index f26590b..b6c6d88 100644 --- a/tests/examples/opencv-module-dnn/mcpp.toml +++ b/tests/examples/opencv-module-dnn/mcpp.toml @@ -10,14 +10,14 @@ version = "0.1.0" default = { path = "../../.." } [target.'cfg(linux)'.dependencies] -opencv = { version = "0.0.9", features = ["dnn"] } +opencv = { version = "0.0.10", features = ["dnn"] } # macOS: `import opencv.dnn;` on macOS-arm64 (per-OS NEON dnn payload). [target.'cfg(macos)'.dependencies] -opencv = { version = "0.0.9", features = ["dnn"] } +opencv = { version = "0.0.10", features = ["dnn"] } # windows: `import opencv.dnn;` on windows-x86_64 (fast_gemm backend). [target.'cfg(windows)'.dependencies] -opencv = { version = "0.0.9", features = ["dnn"] } +opencv = { version = "0.0.10", features = ["dnn"] } diff --git a/tests/examples/opencv-module/mcpp.toml b/tests/examples/opencv-module/mcpp.toml index f4c575e..c04ab5f 100644 --- a/tests/examples/opencv-module/mcpp.toml +++ b/tests/examples/opencv-module/mcpp.toml @@ -16,11 +16,11 @@ version = "0.1.0" default = { path = "../../.." } [target.'cfg(linux)'.dependencies] -opencv = "0.0.9" +opencv = "0.0.10" [target.'cfg(macos)'.dependencies] -opencv = "0.0.9" +opencv = "0.0.10" # windows: import opencv.cv on windows-x86_64 (clang-cl; module tarball OS-neutral). [target.'cfg(windows)'.dependencies] -opencv = "0.0.9" +opencv = "0.0.10"