2 "swift_versions": "5.0",
6 "homepage": "https://github.com/MetalPetal/MetalPetal",
7 "summary": "GPU-accelerated image and video processing framework based on Metal.",
15 "YuAo": "me@imyuao.com"
17 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
18 "default_subspecs": "Core",
19 "prefix_header_file": false,
22 "git": "https://github.com/MetalPetal/MetalPetal.git"
29 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
30 "prefix_header_file": false,
33 "MetalPerformanceShaders",
36 "private_header_files": [
37 "Frameworks/MetalPetal/MTIPrint.h",
38 "Frameworks/MetalPetal/MTIDefer.h",
39 "Frameworks/MetalPetal/MTIHasher.h",
40 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
41 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
43 "pod_target_xcconfig": {
44 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
49 "MetalPerformanceShaders",
52 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
54 "prefix_header_file": false,
64 "execution_position": "after_compile",
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"
69 "name": "AppleSilicon",
70 "prefix_header_file": false,
78 "execution_position": "after_compile",
79 "name": "Build Metal Library - MSL 2.3",
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=macos-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n"
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 "name": "Build Metal Library - MSL 2.3",
87 "execution_position": "after_compile"
93 "name": "Copy Resource Bundle",
94 "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",
95 "execution_position": "after_compile"
98 "pod_target_xcconfig": {
99 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
103 "MetalPerformanceShaders",
113 "pod_target_xcconfig": {
114 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
117 "pod_target_xcconfig": {
118 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
120 "prefix_header_file": false,
121 "resource_bundles": {
123 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
127 "pod_target_xcconfig": {
128 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
133 "swift_version": "5.0"