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