2 "swift_versions": "5.0",
4 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
5 "default_subspecs": "Core",
7 "YuAo": "me@imyuao.com"
13 "homepage": "https://github.com/MetalPetal/MetalPetal",
19 "prefix_header_file": false,
21 "git": "https://github.com/MetalPetal/MetalPetal.git",
24 "summary": "GPU-accelerated image and video processing framework based on Metal.",
28 "pod_target_xcconfig": {
29 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
31 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
33 "MetalPerformanceShaders",
37 "prefix_header_file": false,
38 "private_header_files": [
39 "Frameworks/MetalPetal/MTIPrint.h",
40 "Frameworks/MetalPetal/MTIDefer.h",
41 "Frameworks/MetalPetal/MTIHasher.h",
42 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
43 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
48 "prefix_header_file": false,
50 "MetalPerformanceShaders",
53 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
69 "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",
70 "execution_position": "after_compile",
71 "name": "Build Metal Library - MSL 2.3"
76 "execution_position": "after_compile",
77 "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",
78 "name": "Build Metal Library - MSL 2.3"
81 "prefix_header_file": false,
84 "execution_position": "after_compile",
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"
89 "name": "AppleSilicon"
92 "prefix_header_file": false,
94 "MetalPerformanceShaders",
98 "pod_target_xcconfig": {
99 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
102 "pod_target_xcconfig": {
103 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
105 "resource_bundles": {
107 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
111 "pod_target_xcconfig": {
112 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
116 "pod_target_xcconfig": {
117 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
128 "swift_version": "5.0"