3 "summary": "GPU-accelerated image and video processing framework based on Metal.",
4 "homepage": "https://github.com/MetalPetal/MetalPetal",
6 "default_subspecs": "Core",
7 "prefix_header_file": false,
9 "YuAo": "me@imyuao.com"
14 "git": "https://github.com/MetalPetal/MetalPetal.git"
16 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
25 "swift_versions": "5.0",
29 "MetalPerformanceShaders",
32 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
33 "prefix_header_file": false,
35 "private_header_files": [
36 "Frameworks/MetalPetal/MTIPrint.h",
37 "Frameworks/MetalPetal/MTIDefer.h",
38 "Frameworks/MetalPetal/MTIHasher.h",
39 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
40 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
43 "pod_target_xcconfig": {
44 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
49 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
50 "prefix_header_file": false,
57 "MetalPerformanceShaders",
62 "name": "AppleSilicon",
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",
67 "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 "execution_position": "after_compile",
74 "name": "Build Metal Library - MSL 2.3"
79 "execution_position": "after_compile",
80 "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",
81 "name": "Build Metal Library - MSL 2.3"
84 "prefix_header_file": false,
92 "prefix_header_file": false,
94 "pod_target_xcconfig": {
95 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
98 "pod_target_xcconfig": {
99 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
103 "MetalPerformanceShaders",
107 "pod_target_xcconfig": {
108 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
111 "resource_bundles": {
113 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
122 "pod_target_xcconfig": {
123 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
128 "swift_version": "5.0"