2022-10-18 15:16:11 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
|
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
2022-05-15 16:13:37 +00:00
|
|
|
// DO NOT EDIT
|
|
|
|
|
2023-05-04 05:51:18 +00:00
|
|
|
#[cfg(not(docsrs))]
|
2022-05-15 16:13:37 +00:00
|
|
|
use std::process;
|
|
|
|
|
2023-05-04 05:51:18 +00:00
|
|
|
#[cfg(docsrs)]
|
2022-05-15 16:13:37 +00:00
|
|
|
fn main() {} // prevent linking libraries to avoid documentation failure
|
|
|
|
|
2023-05-04 05:51:18 +00:00
|
|
|
#[cfg(not(docsrs))]
|
2022-05-15 16:13:37 +00:00
|
|
|
fn main() {
|
|
|
|
if let Err(s) = system_deps::Config::new().probe() {
|
2022-11-12 15:40:16 +00:00
|
|
|
println!("cargo:warning={s}");
|
2022-05-15 16:13:37 +00:00
|
|
|
process::exit(1);
|
|
|
|
}
|
|
|
|
}
|