Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI
link avfoundation
Preetham Pemmasani7365b8831de8
diff --git a/bindings/rust/blenderui-sys/build.rs b/bindings/rust/blenderui-sys/build.rsindex 97ea530..60ba768 100644--- a/bindings/rust/blenderui-sys/build.rs+++ b/bindings/rust/blenderui-sys/build.rs@@ -105,10 +105,13 @@ fn main() {for fw in ["Cocoa", "CoreGraphics"] {println!("cargo:rustc-link-lib=framework={fw}");}- // video (movie_avf.m): weak, so a system without them still starts+ // video (movie_avf.m). `rustc-link-lib`, not `rustc-link-arg`: only a link-lib+ // reaches the crates that depend on this one (a link-arg stays with this package's+ // own targets, and `blenderui`'s test binaries then fail to link). All three+ // frameworks ship with every macOS the kit supports (11 and newer).if std::env::var_os("CARGO_FEATURE_VIDEO").is_some() {for fw in ["AVFoundation", "CoreMedia", "CoreVideo"] {- println!("cargo:rustc-link-arg=-Wl,-weak_framework,{fw}");+ println!("cargo:rustc-link-lib=framework={fw}");}}println!("cargo:rustc-link-lib=objc");