Better LILV/LV2 integration #15
3 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
zig-cache/
|
zig-cache/
|
||||||
*.mp3
|
*.mp3
|
||||||
*.wav
|
*.wav
|
||||||
|
build_runner.zig
|
||||||
|
|
|
@ -19,6 +19,7 @@ fn setupLinks(step: *builds.LibExeObjStep) void {
|
||||||
"/usr/include/lilv-0/lilv",
|
"/usr/include/lilv-0/lilv",
|
||||||
"/usr/include/lilv-0",
|
"/usr/include/lilv-0",
|
||||||
};
|
};
|
||||||
|
|
||||||
var found_any_lilv = false;
|
var found_any_lilv = false;
|
||||||
|
|
||||||
for (possible_lilv_include_dirs) |possible_lilv_dir| {
|
for (possible_lilv_include_dirs) |possible_lilv_dir| {
|
||||||
|
|
|
@ -4,7 +4,7 @@ const plugin = @import("plugin.zig");
|
||||||
pub const c = @cImport({
|
pub const c = @cImport({
|
||||||
@cInclude("sndfile.h");
|
@cInclude("sndfile.h");
|
||||||
@cInclude("lilv/lilv.h");
|
@cInclude("lilv/lilv.h");
|
||||||
@cInclude("lv2/core/lv2.h");
|
@cInclude("lv2.h");
|
||||||
});
|
});
|
||||||
|
|
||||||
pub fn Lv2Core(comptime ns: []const u8) []const u8 {
|
pub fn Lv2Core(comptime ns: []const u8) []const u8 {
|
||||||
|
|
Loading…
Reference in a new issue