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