3 "git": "https://github.com/MetalPetal/MetalPetal.git",
6 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
12 "YuAo": "me@imyuao.com"
14 "swift_versions": "5.0",
16 "prefix_header_file": false,
17 "default_subspecs": "Core",
18 "summary": "GPU-accelerated image and video processing framework based on Metal.",
25 "homepage": "https://github.com/MetalPetal/MetalPetal",
29 "pod_target_xcconfig": {
30 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
33 "MetalPerformanceShaders",
36 "prefix_header_file": false,
37 "private_header_files": [
38 "Frameworks/MetalPetal/MTIPrint.h",
39 "Frameworks/MetalPetal/MTIDefer.h",
40 "Frameworks/MetalPetal/MTIHasher.h",
41 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
42 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
45 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}"
49 "MetalPerformanceShaders",
52 "prefix_header_file": false,
59 "source_files": "Frameworks/MetalPetal/**/*.{swift}"
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"
71 "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",
72 "name": "Build Metal Library - MSL 2.3",
73 "execution_position": "after_compile"
76 "name": "AppleSilicon",
82 "prefix_header_file": false,
85 "name": "Build Metal Library - MSL 2.3",
86 "execution_position": "after_compile",
87 "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"
93 "pod_target_xcconfig": {
94 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
98 "MetalPerformanceShaders",
101 "prefix_header_file": false,
103 "pod_target_xcconfig": {
104 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
107 "pod_target_xcconfig": {
108 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
110 "resource_bundles": {
112 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
122 "pod_target_xcconfig": {
123 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
128 "swift_version": "5.0"