[Add] DocumentReaderMRZStage 7.5.10959
[CocoaPods.git] / Specs / d / 1 / 3 / MetalPetal / 1.22.0 / MetalPetal.podspec.json
blob632ebb2059976ec766f18e444bb0a2998a79aaa2
2   "homepage": "https://github.com/MetalPetal/MetalPetal",
3   "swift_versions": "5.0",
4   "authors": {
5     "YuAo": "me@imyuao.com"
6   },
7   "default_subspecs": "Core",
8   "requires_arc": true,
9   "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
10   "prefix_header_file": false,
11   "source": {
12     "tag": "1.22.0",
13     "git": "https://github.com/MetalPetal/MetalPetal.git"
14   },
15   "platforms": {
16     "ios": "10.0",
17     "osx": "10.13",
18     "tvos": "13.0"
19   },
20   "name": "MetalPetal",
21   "version": "1.22.0",
22   "summary": "GPU-accelerated image and video processing framework based on Metal.",
23   "license": {
24     "type": "MIT"
25   },
26   "subspecs": [
27     {
28       "weak_frameworks": [
29         "MetalPerformanceShaders",
30         "MetalKit"
31       ],
32       "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
33       "name": "Core",
34       "prefix_header_file": false,
35       "pod_target_xcconfig": {
36         "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
37       },
38       "private_header_files": [
39         "Frameworks/MetalPetal/MTIPrint.h",
40         "Frameworks/MetalPetal/MTIDefer.h",
41         "Frameworks/MetalPetal/MTIHasher.h",
42         "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
43         "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
44       ],
45       "libraries": "c++"
46     },
47     {
48       "name": "Swift",
49       "source_files": "Frameworks/MetalPetal/**/*.{swift}",
50       "weak_frameworks": [
51         "MetalPerformanceShaders",
52         "MetalKit"
53       ],
54       "dependencies": {
55         "MetalPetal/Core": [
57         ]
58       },
59       "prefix_header_file": false
60     },
61     {
62       "osx": {
63         "script_phases": {
64           "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=macos-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n",
65           "name": "Build Metal Library - MSL 2.3",
66           "execution_position": "after_compile"
67         }
68       },
69       "dependencies": {
70         "MetalPetal/Core": [
72         ]
73       },
74       "name": "AppleSilicon",
75       "tvos": {
76         "script_phases": {
77           "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=ios-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n",
78           "execution_position": "after_compile",
79           "name": "Build Metal Library - MSL 2.3"
80         }
81       },
82       "ios": {
83         "script_phases": {
84           "name": "Build Metal Library - MSL 2.3",
85           "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=ios-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n",
86           "execution_position": "after_compile"
87         }
88       },
89       "prefix_header_file": false
90     },
91     {
92       "resource_bundles": {
93         "MetalPetal": [
94           "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
95         ]
96       },
97       "prefix_header_file": false,
98       "name": "Static",
99       "dependencies": {
100         "MetalPetal/Core": [
102         ]
103       },
104       "osx": {
105         "pod_target_xcconfig": {
106           "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
107         }
108       },
109       "pod_target_xcconfig": {
110         "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
111       },
112       "weak_frameworks": [
113         "MetalPerformanceShaders",
114         "MetalKit"
115       ],
116       "ios": {
117         "pod_target_xcconfig": {
118           "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
119         }
120       },
121       "tvos": {
122         "pod_target_xcconfig": {
123           "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
124         }
125       }
126     }
127   ],
128   "swift_version": "5.0"