[Add] HyperCore 0.0.1
[CocoaPods.git] / Specs / 1 / 7 / 6 / DartCvMacOS / 4.10.0+3 / DartCvMacOS.podspec.json
blob5c38d8126e6848b0e5ce75203d85dc8f7d1f6e60
2   "name": "DartCvMacOS",
3   "version": "4.10.0+3",
4   "summary": "dartcv for macos",
5   "description": "OpenCV bindings for Dart.",
6   "homepage": "https://github.com/rainyl/dartcv",
7   "license": {
8     "type": "Apache License v2.0",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Rainyl": "rainyliusy3@gmail.com"
13   },
14   "source": {
15     "git": "https://github.com/rainyl/dartcv.git",
16     "tag": "4.10.0+3"
17   },
18   "libraries": "c++",
19   "requires_arc": false,
20   "platforms": {
21     "osx": "10.15"
22   },
23   "vendored_libraries": "libopencv/libopencv.a",
24   "frameworks": [
25     "Accelerate",
26     "AVFoundation",
27     "CoreGraphics",
28     "CoreImage",
29     "CoreMedia",
30     "CoreVideo",
31     "Foundation",
32     "QuartzCore",
33     "OpenCL"
34   ],
35   "pod_target_xcconfig": {
36     "DEFINES_MODULE": "YES",
37     "HEADER_SEARCH_PATHS": "\"$(inherited)\" \"${PODS_TARGET_SRCROOT}/libopencv/include/opencv4\"",
38     "USER_HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_TARGET_SRCROOT)/dartcv\"",
39     "CLANG_WARN_STRICT_PROTOTYPES": "NO",
40     "CLANG_WARN_DOCUMENTATION_COMMENTS": "NO",
41     "CLANG_CXX_LANGUAGE_STANDARD": "c++14",
42     "OTHER_LDFLAGS": "-Wno-unused-function -Wl,-ld_classic"
43   },
44   "swift_versions": "5.0",
45   "prepare_command": "if [ ! -f libopencv/libopencv.a ]; then\n  if [ ! -f libopencv.zip ]; then\n    echo \"libopencv.a and libopencv.zip not found, downloading...\";\n    curl -L \"https://github.com/rainyl/opencv.full/releases/download/4.10.0+9/libopencv-macos.zip\" > libopencv.zip;\n  else\n    echo \"found libopencv.zip\";\n  fi\n  echo \"extracting...\";\n  unzip -q -o libopencv.zip;\n  echo \"cleaning...\";\n  rm -f libopencv.zip;\nelse\n  echo \"found libopencv.a, continue...\";\nfi",
46   "default_subspecs": [
47     "core",
48     "calib3d",
49     "contrib",
50     "features2d",
51     "imgproc",
52     "objdetect",
53     "photo",
54     "stitching",
55     "video"
56   ],
57   "subspecs": [
58     {
59       "name": "core",
60       "header_mappings_dir": ".",
61       "preserve_paths": [
62         "dartcv/**",
63         "libopencv/{include,lib,share}"
64       ],
65       "source_files": "dartcv/{core,imgcodecs}/*.{h,c,cpp}",
66       "vendored_libraries": "libopencv/libopencv.a"
67     },
68     {
69       "name": "calib3d",
70       "header_mappings_dir": ".",
71       "source_files": "dartcv/calib3d/*.{h,c,cpp}",
72       "dependencies": {
73         "DartCvMacOS/core": [
75         ]
76       }
77     },
78     {
79       "name": "contrib",
80       "header_mappings_dir": ".",
81       "source_files": "dartcv/contrib/*.{h,c,cpp}",
82       "dependencies": {
83         "DartCvMacOS/core": [
85         ]
86       }
87     },
88     {
89       "name": "dnn",
90       "header_mappings_dir": ".",
91       "source_files": "dartcv/dnn/*.{h,c,cpp}",
92       "dependencies": {
93         "DartCvMacOS/core": [
95         ]
96       }
97     },
98     {
99       "name": "features2d",
100       "header_mappings_dir": ".",
101       "source_files": "dartcv/features2d/*.{h,c,cpp}",
102       "dependencies": {
103         "DartCvMacOS/core": [
105         ]
106       }
107     },
108     {
109       "name": "highgui",
110       "header_mappings_dir": ".",
111       "source_files": "dartcv/highgui/*.{h,c,cpp}",
112       "dependencies": {
113         "DartCvMacOS/core": [
115         ]
116       },
117       "vendored_libraries": "libopencv/ffmpeg/lib/libffmpeg.6.dylib"
118     },
119     {
120       "name": "imgproc",
121       "header_mappings_dir": ".",
122       "source_files": "dartcv/imgproc/*.{h,c,cpp}",
123       "dependencies": {
124         "DartCvMacOS/core": [
126         ]
127       }
128     },
129     {
130       "name": "objdetect",
131       "header_mappings_dir": ".",
132       "source_files": "dartcv/objdetect/*.{h,c,cpp}",
133       "dependencies": {
134         "DartCvMacOS/core": [
136         ]
137       }
138     },
139     {
140       "name": "photo",
141       "header_mappings_dir": ".",
142       "source_files": "dartcv/photo/*.{h,c,cpp}",
143       "dependencies": {
144         "DartCvMacOS/core": [
146         ]
147       }
148     },
149     {
150       "name": "stitching",
151       "header_mappings_dir": ".",
152       "source_files": "dartcv/stitching/*.{h,c,cpp}",
153       "dependencies": {
154         "DartCvMacOS/core": [
156         ]
157       }
158     },
159     {
160       "name": "video",
161       "header_mappings_dir": ".",
162       "source_files": "dartcv/video/*.{h,c,cpp}",
163       "dependencies": {
164         "DartCvMacOS/core": [
166         ]
167       }
168     },
169     {
170       "name": "videoio",
171       "header_mappings_dir": ".",
172       "source_files": "dartcv/videoio/*.{h,c,cpp}",
173       "dependencies": {
174         "DartCvMacOS/core": [
176         ]
177       },
178       "vendored_libraries": "libopencv/ffmpeg/lib/libffmpeg.6.dylib"
179     }
180   ],
181   "swift_version": "5.0"