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