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