Add spotify renderer

This commit is contained in:
Dominic Grimm 2025-06-21 21:09:08 +02:00
parent 16fd5b0b95
commit b55c3a666f
Signed by: dergrimm
SSH key fingerprint: SHA256:0uoWpcqOtkyvQ+ZqBjNYiDqIZY+9s8VeZkkJ/4ryB4E
17 changed files with 1464 additions and 22 deletions

View file

@ -94,6 +94,19 @@ pub fn build(b: *std.Build) !void {
const render_exe_install = b.addInstallArtifact(departures_exe, .{});
render_step.dependOn(&render_exe_install.step);
const spotify_exe = b.addExecutable(.{
.name = "eink-feed-render-spotify",
.root_source_file = b.path("src/eink_feed_render/main/spotify.zig"),
.target = target,
.optimize = optimize,
});
spotify_exe.root_module.addImport("eink_feed_render", render_mod);
spotify_exe.root_module.addImport("clap", clap_dep.module("clap"));
spotify_exe.linkLibC();
const spotify_exe_install = b.addInstallArtifact(spotify_exe, .{});
render_step.dependOn(&spotify_exe_install.step);
}
{