Commit b9139da
committed
feat(pkg): opencv module package on macOS (import opencv.cv)
The public `opencv` C++23-module package (pkgs/o/opencv.lua) now offers macosx —
the v0.0.4 module tarball is OS-neutral (module source), and its compat.opencv
dependency is macOS-capable (linux+macosx full profile, PR#97). So mcpp-ecosystem
macOS users get `import opencv.cv;` (core/imgproc/imgcodecs/highgui/videoio+FFmpeg)
with the same simple `opencv = "0.0.4"` dependency as linux — no new module release.
- pkgs/o/opencv.lua: +xpm.macosx (same tarball/sha as linux).
- members opencv-module + opencv-module-unifont -> +cfg(macos); test guards
__linux__ -> __linux__||__APPLE__. opencv-module-dnn stays linux (dnn = x86 SIMD
kernels + protobuf/mlas; needs a macOS dnn snapshot). windows not offered for the
module yet (import opencv.cv aggregates videoio; windows compat.opencv is core-only).1 parent a4bf601 commit b9139da
5 files changed
Lines changed: 20 additions & 3 deletions
File tree
- pkgs/o
- tests/examples
- opencv-module-unifont
- tests
- opencv-module
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments