2 "homepage": "https://github.com/MetalPetal/MetalPetal",
3 "swift_versions": "5.0",
5 "YuAo": "me@imyuao.com"
7 "default_subspecs": "Core",
9 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
10 "prefix_header_file": false,
13 "git": "https://github.com/MetalPetal/MetalPetal.git"
22 "summary": "GPU-accelerated image and video processing framework based on Metal.",
29 "MetalPerformanceShaders",
32 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
34 "prefix_header_file": false,
35 "pod_target_xcconfig": {
36 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
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"
49 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
51 "MetalPerformanceShaders",
59 "prefix_header_file": false
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=macos-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"
74 "name": "AppleSilicon",
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 "execution_position": "after_compile",
79 "name": "Build Metal Library - MSL 2.3"
84 "name": "Build Metal Library - MSL 2.3",
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 "execution_position": "after_compile"
89 "prefix_header_file": false
94 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
97 "prefix_header_file": false,
105 "pod_target_xcconfig": {
106 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
109 "pod_target_xcconfig": {
110 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
113 "MetalPerformanceShaders",
117 "pod_target_xcconfig": {
118 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
122 "pod_target_xcconfig": {
123 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
128 "swift_version": "5.0"