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