4 "git": "https://github.com/MetalPetal/MetalPetal.git"
7 "YuAo": "me@imyuao.com"
14 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
15 "default_subspecs": "Core",
16 "homepage": "https://github.com/MetalPetal/MetalPetal",
18 "swift_versions": "5.0",
19 "prefix_header_file": false,
25 "summary": "GPU-accelerated image and video processing framework based on Metal.",
30 "prefix_header_file": false,
31 "private_header_files": [
32 "Frameworks/MetalPetal/MTIPrint.h",
33 "Frameworks/MetalPetal/MTIDefer.h",
34 "Frameworks/MetalPetal/MTIHasher.h",
35 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
36 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
38 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
39 "pod_target_xcconfig": {
40 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
43 "MetalPerformanceShaders",
50 "MetalPerformanceShaders",
53 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
54 "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=ios-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 "prefix_header_file": false,
77 "execution_position": "after_compile",
78 "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",
79 "name": "Build Metal Library - MSL 2.3"
82 "name": "AppleSilicon",
85 "execution_position": "after_compile",
86 "name": "Build Metal Library - MSL 2.3",
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=macos-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n"
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/Contents/Resources"
101 "MetalPerformanceShaders",
109 "resource_bundles": {
111 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
115 "prefix_header_file": false,
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"