2 "swift_versions": "5.0",
11 "git": "https://github.com/MetalPetal/MetalPetal.git",
17 "prefix_header_file": false,
18 "homepage": "https://github.com/MetalPetal/MetalPetal",
20 "YuAo": "me@imyuao.com"
22 "default_subspecs": "Core",
23 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
25 "summary": "GPU-accelerated image and video processing framework based on Metal.",
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"
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"
43 "MetalPerformanceShaders",
48 "prefix_header_file": false,
49 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
51 "MetalPerformanceShaders",
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"
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"
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"
88 "prefix_header_file": false,
89 "name": "AppleSilicon"
92 "pod_target_xcconfig": {
93 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
96 "pod_target_xcconfig": {
97 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
101 "MetalPerformanceShaders",
104 "resource_bundles": {
106 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
110 "pod_target_xcconfig": {
111 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
115 "pod_target_xcconfig": {
116 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
125 "prefix_header_file": false
128 "swift_version": "5.0"