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