Update spotify integration

This commit is contained in:
Dominic Grimm 2025-07-03 17:16:47 +02:00
parent 30b9f32195
commit 0b1f5a6ce6
Signed by: dergrimm
SSH key fingerprint: SHA256:0uoWpcqOtkyvQ+ZqBjNYiDqIZY+9s8VeZkkJ/4ryB4E
6 changed files with 21 additions and 15 deletions

View file

@ -32,6 +32,10 @@ pub fn build(b: *std.Build) !void {
});
gen_proto.dependOn(&protc_step.step);
const utils_mod = b.createModule(.{
.root_source_file = b.path("src/utils/root.zig"),
});
const protocol = blk: {
const mod = b.addModule("eink_feed_protocol", .{
.root_source_file = b.path("src/eink_feed_protocol/root.zig"),
@ -45,6 +49,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/eink_feed_server/root.zig"),
.target = target,
});
server_mod.addImport("utils", utils_mod);
server_mod.addImport("eink_feed_protocol", protocol);
server_mod.addImport("zap", zap_dep.module("zap"));
server_mod.addImport("zigimg", zigimg_dep.module("zigimg"));
@ -71,6 +76,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/eink_feed_render/root.zig"),
.target = target,
});
render_mod.addImport("utils", utils_mod);
render_mod.addImport("eink_feed_server", server_mod);
render_mod.addImport("eink_feed_protocol", protocol);
render_mod.addImport("zigimg", zigimg_dep.module("zigimg"));