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