lios 0.1.89

Lios Linux terminal with native Aen and GTK4/VTE frontends.
Documentation
fn main() {
    println!("cargo:rerun-if-changed=build.rs");
    #[cfg(feature = "native")]
    {
        require_library("gtk4", "4.0.1");
        require_library("vte-2.91-gtk4", "0.70");
    }
}

#[cfg(feature = "native")]
fn require_library(package: &str, minimum: &str) {
    // Use the same target-aware probing as the bindings. Invoking pkg-config
    // directly would ignore target-specific wrappers and sysroots when cross-building.
    pkg_config::Config::new()
        .atleast_version(minimum)
        .cargo_metadata(false)
        .probe(package)
        .unwrap_or_else(|error| {
            panic!(
                "Lios native requires {package} >= {minimum} development files for the target. \
                 Install your distribution's GTK4/VTE GTK4 development packages, or run \
                 `cargo install lios && lios install`. GTK3 VTE is not interchangeable.\n{error}"
            )
        });
}