mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
link to suil from nixpkgs
This commit is contained in:
parent
278b213f12
commit
24cfbfd959
4 changed files with 5 additions and 2 deletions
0
.gitmodules
vendored
Normal file
0
.gitmodules
vendored
Normal 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()
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ use crate::*;
|
|||
|
||||
#[test]
|
||||
fn panics () {
|
||||
let host = Host::new();
|
||||
self::ui::UI::run().join();
|
||||
panic!();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue