diff --git a/build.zig b/build.zig index 9266f9a7..659af323 100644 --- a/build.zig +++ b/build.zig @@ -25,7 +25,10 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); example.addModule("mach-flac", module); - example.addModule("mach-sysaudio", sysaudio.module(b, optimize, target)); + example.addModule("mach-sysaudio", b.dependency("mach_sysaudio", .{ + .target = target, + .optimize = optimize, + }).module("mach-sysaudio")); link(b, example); sysaudio.link(b, example); b.installArtifact(example); diff --git a/build.zig.zon b/build.zig.zon index d48bf8e4..bf771a19 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,18 +1,28 @@ .{ .name = "mach-flac", .version = "0.0.0", + .paths = .{ + "examples", + "src", + "build.zig", + "build.zig.zon", + "LICENSE", + "LICENSE-APACHE", + "LICENSE-MIT", + "README.md", + }, .dependencies = .{ .flac = .{ - .url = "https://pkg.machengine.org/flac/40bdebc2fa14eb79e414f9ef1969d6530ba03b6a.tar.gz", - .hash = "1220bc4330a88b077861b961afb4418a83fe0e9d7bd03a47ebb3d6a9e6aa95e71a0a", + .url = "https://pkg.machengine.org/flac/158f9c75675f36f50fe1e17537194ee592920b1f.tar.gz", + .hash = "1220a94ab7ce73640614765e10e13a028ad9119d254b6117bd824db4d924d6c1d7cc", }, .mach_sysaudio = .{ - .url = "https://pkg.machengine.org/mach-sysaudio/a9bf13c14e05648e00745f5782883f4111eaeed4.tar.gz", - .hash = "12206935288305365fe8bc46e0e30191f1119fca96632a5f93ca95ceb978b13bdb33", + .url = "https://pkg.machengine.org/mach-sysaudio/12e9801f9686655466fd5dba5cbab2e22da32bfc.tar.gz", + .hash = "1220bb517fe471189559106415e8eb7c785547e404d38f365dd112d2c264c2166fd6", }, .linux_audio_headers = .{ - .url = "https://pkg.machengine.org/linux-audio-headers/32aaed47da614b259f8d5efa3aea2b59e4987254.tar.gz", - .hash = "122042ed4fbf479e897d3a253f3f43d4f7369f8ec678fa6765c46dbc8b5ac63b1284", + .url = "https://pkg.machengine.org/linux-audio-headers/6b182ff9d51009ca903f3bac63777fbfa654e5f5.tar.gz", + .hash = "122052c4415f4d5be98e3324083939af644d5f8eddd2e6a1a544596645eda8cf411a", }, }, }