Files
Dan Shechter ba4918866f Transition to libaytana-appindicator3 from libappindicator3
libappindicator is practically unmaintained by canonical and a general
transition towards the community maintained libaytana-appindicator
has been going on for a while now (in ubuntu derivatives, debian :
https://bugs.launchpad.net/ubuntu/+source/libayatana-appindicator/+bug/1915695

This commit switches the linux build to using the community
provided `libaytana-appindicator3` and has been tested on:
ubuntu, pop-os and debian.
2023-12-24 08:32:50 +02:00

20 lines
708 B
Rust

#[allow(unused_assignments)]
#[allow(unused_mut)]
fn main() {
let d = env!("CARGO_MANIFEST_DIR");
println!("cargo:rustc-link-search=native={}/tray", d);
println!(
"cargo:rustc-link-search=native={}/libui-ng/build/meson-out",
d
);
println!("cargo:rustc-link-lib=static=zt_desktop_tray");
println!("cargo:rustc-link-lib=static=ui");
#[cfg(target_os = "linux")] {
println!("cargo:rustc-link-lib=dylib=gtk-3");
println!("cargo:rustc-link-lib=dylib=gdk-3");
println!("cargo:rustc-link-lib=dylib=gobject-2.0");
println!("cargo:rustc-link-lib=dylib=glib-2.0");
println!("cargo:rustc-link-lib=dylib=ayatana-appindicator3");
}
}