2 "default_subspecs": "Core",
6 "swift_versions": "5.0",
12 "summary": "GPU-accelerated image and video processing framework based on Metal.",
15 "YuAo": "me@imyuao.com"
17 "homepage": "https://github.com/MetalPetal/MetalPetal",
19 "git": "https://github.com/MetalPetal/MetalPetal.git",
22 "prefix_header_file": false,
25 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
28 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
30 "MetalPerformanceShaders",
34 "private_header_files": [
35 "Frameworks/MetalPetal/MTIPrint.h",
36 "Frameworks/MetalPetal/MTIDefer.h",
37 "Frameworks/MetalPetal/MTIHasher.h",
38 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
39 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
41 "prefix_header_file": false,
42 "pod_target_xcconfig": {
43 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
55 "MetalPerformanceShaders",
58 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
59 "prefix_header_file": false
64 "name": "Build Metal Library - MSL 2.3",
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"
74 "prefix_header_file": false,
75 "name": "AppleSilicon",
78 "name": "Build Metal Library - MSL 2.3",
79 "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",
80 "execution_position": "after_compile"
85 "name": "Build Metal Library - MSL 2.3",
86 "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",
87 "execution_position": "after_compile"
98 "pod_target_xcconfig": {
99 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
102 "prefix_header_file": false,
104 "name": "Copy Resource Bundle",
105 "script": "set -e\nset -u\nset -o pipefail\necho \"rsync --delete -av --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${TARGET_BUILD_DIR}/MetalPetal.bundle\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/\"\"\nrsync --delete -av --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${TARGET_BUILD_DIR}/MetalPetal.bundle\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/\"\n",
106 "execution_position": "after_compile"
108 "resource_bundles": {
110 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
114 "pod_target_xcconfig": {
115 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
120 "MetalPerformanceShaders",
124 "pod_target_xcconfig": {
125 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
128 "pod_target_xcconfig": {
129 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
133 "swift_version": "5.0"