mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +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};
|
use bindgen::{Builder, CargoCallbacks};
|
||||||
fn main() {
|
fn main() {
|
||||||
//println!("cargo:rustc-link-lib=lv2");
|
//println!("cargo:rustc-link-lib=lv2");
|
||||||
//println!("cargo:rustc-link-lib=suil");
|
println!("cargo:rustc-link-lib=suil-0");
|
||||||
let bindings = Builder::default()
|
let bindings = Builder::default()
|
||||||
.header("wrapper.h")
|
.header("wrapper.h")
|
||||||
.clang_arg("-Ilv2/include/lv2")
|
//.clang_arg("-Ilv2/include/lv2")
|
||||||
.clang_arg("-Isuil/include/suil")
|
.clang_arg("-Isuil/include/suil")
|
||||||
.parse_callbacks(Box::new(CargoCallbacks::new()))
|
.parse_callbacks(Box::new(CargoCallbacks::new()))
|
||||||
.generate()
|
.generate()
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ use crate::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn panics () {
|
fn panics () {
|
||||||
|
let host = Host::new();
|
||||||
self::ui::UI::run().join();
|
self::ui::UI::run().join();
|
||||||
panic!();
|
panic!();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
lilv
|
lilv
|
||||||
serd
|
serd
|
||||||
libclang
|
libclang
|
||||||
|
suil
|
||||||
];
|
];
|
||||||
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
|
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
|
||||||
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
||||||
|
|
@ -24,5 +25,6 @@
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
suil
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue