slint/examples/gstreamer-player/build.rs
Simon Hausmann 2edd97bf8b gstreamer-player: Make the EGL integration easier to re-use
By not requiring a pipeline and having a lower-level SlintOpenGLSink type,
it's easier to re-use this code in application code that for example doesn't use playbin.
2025-01-17 14:14:02 +01:00

11 lines
253 B
Rust

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
use cfg_aliases::cfg_aliases;
fn main() {
slint_build::compile("scene.slint").unwrap();
cfg_aliases! {
slint_gstreamer_egl: { target_os = "linux" },
}
}