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