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