link to suil from nixpkgs

This commit is contained in:
🪞👃🪞 2024-07-24 14:50:44 +03:00
parent 278b213f12
commit 24cfbfd959
4 changed files with 5 additions and 2 deletions

0
.gitmodules vendored Normal file
View file

View file

@ -3,10 +3,10 @@ use std::env::var;
use bindgen::{Builder, CargoCallbacks};
fn main() {
//println!("cargo:rustc-link-lib=lv2");
//println!("cargo:rustc-link-lib=suil");
println!("cargo:rustc-link-lib=suil-0");
let bindings = Builder::default()
.header("wrapper.h")
.clang_arg("-Ilv2/include/lv2")
//.clang_arg("-Ilv2/include/lv2")
.clang_arg("-Isuil/include/suil")
.parse_callbacks(Box::new(CargoCallbacks::new()))
.generate()

View file

@ -2,6 +2,7 @@ use crate::*;
#[test]
fn panics () {
let host = Host::new();
self::ui::UI::run().join();
panic!();
}

View file

@ -11,6 +11,7 @@
lilv
serd
libclang
suil
];
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
@ -24,5 +25,6 @@
xorg.libXcursor
xorg.libXi
libxkbcommon
suil
]);
}