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