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