2 "summary": "GPU-accelerated image and video processing framework based on Metal.",
3 "default_subspecs": "Core",
12 "prefix_header_file": false,
13 "swift_versions": "5.0",
18 "YuAo": "me@imyuao.com"
22 "git": "https://github.com/MetalPetal/MetalPetal.git"
24 "homepage": "https://github.com/MetalPetal/MetalPetal",
25 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
28 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
29 "private_header_files": [
30 "Frameworks/MetalPetal/MTIPrint.h",
31 "Frameworks/MetalPetal/MTIDefer.h",
32 "Frameworks/MetalPetal/MTIHasher.h",
33 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
34 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
36 "pod_target_xcconfig": {
37 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
40 "MetalPerformanceShaders",
44 "prefix_header_file": false,
53 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
54 "prefix_header_file": false,
56 "MetalPerformanceShaders",
62 "prefix_header_file": false,
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 "execution_position": "after_compile",
67 "name": "Build Metal Library - MSL 2.3"
70 "name": "AppleSilicon",
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=macos-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n",
79 "execution_position": "after_compile",
80 "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",
87 "name": "Build Metal Library - MSL 2.3"
93 "MetalPerformanceShaders",
97 "pod_target_xcconfig": {
98 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
101 "prefix_header_file": false,
102 "resource_bundles": {
104 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
108 "pod_target_xcconfig": {
109 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
118 "pod_target_xcconfig": {
119 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
122 "pod_target_xcconfig": {
123 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
128 "swift_version": "5.0"