Zig 0.10 bindings for pipewire
- In your
build.zig
:
const pipewire = std.build.Pkg{
.name = "pipewire",
.source = .{.path = "path/to/src/pipewire.zig"}
};
exe.linkLibC();
exe.linkSystemLibrary("libpipewire-0.3");
exe.addPackage(pipewire);
- In your
main.zig
:
const pipewire = @import("pipewire");