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