~leon_plickat/public-inbox

[PATCH upgrade to Zig 0.13.0 2/7] build: update to Zig 0.13.0

Details
Message ID
<20240625125718.32012-3-contact@uncomfyhalomacro.pl>
DKIM signature
pass
Download raw message
Patch: +19 -19
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
---
 build.zig     |  8 ++++----
 build.zig.zon | 30 +++++++++++++++---------------
 2 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/build.zig b/build.zig
index ff36053..2c34d69 100644
--- a/build.zig
@@ -22,7 +22,7 @@ pub fn build(b: *std.Build) !void {
    scanner.generate("wl_seat", 8);
    scanner.generate("wl_output", 4);

    const wayland = b.dependency("zig-wayland", .{}).module("wayland");
    const wayland = b.createModule(.{ .root_source_file = scanner.result });
    const xkbcommon = b.dependency("zig-xkbcommon", .{}).module("xkbcommon");
    const pixman = b.dependency("zig-pixman", .{}).module("pixman");
    const spoon = b.dependency("zig-spoon", .{}).module("spoon");
@@ -30,7 +30,7 @@ pub fn build(b: *std.Build) !void {

    const wayprompt_cli = b.addExecutable(.{
        .name = "wayprompt",
        .root_source_file = .{ .path = "src/wayprompt-cli.zig" },
        .root_source_file = b.path("src/wayprompt-cli.zig"),
        .target = target,
        .optimize = optimize,
    });
@@ -53,7 +53,7 @@ pub fn build(b: *std.Build) !void {

    const wayprompt_pinentry = b.addExecutable(.{
        .name = "pinentry-wayprompt",
        .root_source_file = .{ .path = "src/wayprompt-pinentry.zig" },
        .root_source_file = b.path("src/wayprompt-pinentry.zig"),
        .target = target,
        .optimize = optimize,
    });
@@ -74,7 +74,7 @@ pub fn build(b: *std.Build) !void {
    b.installArtifact(wayprompt_pinentry);

    const tests = b.addTest(.{
        .root_source_file = .{ .path = "src/tests.zig" },
        .root_source_file = b.path("src/tests.zig"),
        .target = target,
        .optimize = optimize,
    });
diff --git a/build.zig.zon b/build.zig.zon
index 1d35dc3..74cf32f 100644
--- a/build.zig.zon
@@ -3,25 +3,25 @@
    .version = "0.2.0",
    .paths = .{""},
    .dependencies = .{
        .@"zig-wayland" = .{
            .url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.1.0.tar.gz",
            .hash = "1220b0f8f822c1625af7aae4cb3ab2c4ec1a4c0e99ef32867b2a8d88bb070b3e7f6d",
        .@"zig-spoon" = .{
            .url = "https://git.sr.ht/~uncomfy/zig-spoon/archive/d029a3339a0363954ca67b17d92a6f574521aebb.tar.gz",
            .hash = "122052b78ad23bbe4d5fc4755359a7724a2e36ceed0c67f3cb2194ce0ead510ce22c",
        },
        .@"zig-fcft" = .{
            .url = "https://git.sr.ht/~novakane/zig-fcft/archive/7881eac29bf0d9de4df1fc31df380e8f5f620585.tar.gz",
            .hash = "1220cc15677890989c54713a7c9d90b6999ad21bdb78fe411b016335daa6cea9f9dd",
        .@"zig-pixman" = .{
            .url = "https://codeberg.org/ifreund/zig-pixman/archive/v0.2.0.tar.gz",
            .hash = "12209db20ce873af176138b76632931def33a10539387cba745db72933c43d274d56",
        },
        .@"zig-xkbcommon" = .{
            .url = "https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.1.0.tar.gz",
            .hash = "1220733d45419f34cc6c24a2a1bba4da2eb2f0319a846546ac99eb86b51d7ec7637c",
        .@"zig-wayland" = .{
            .url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz",
            .hash = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242",
        },
        .@"zig-spoon" = .{
            .url = "https://git.sr.ht/~uncomfy/zig-spoon/archive/0b66d77f5a89c4136daa13b02cebe945feebc668.tar.gz",
            .hash = "1220733d45419f34cc6c24a2a1bba4da2eb2f0319a846546ac99eb86b51d7ec7637c",
        .@"zig-xkbcommon" = .{
            .url = "https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.2.0.tar.gz",
            .hash = "1220c90b2228d65fd8427a837d31b0add83e9fade1dcfa539bb56fd06f1f8461605f",
        },
        .@"zig-pixman" = .{
            .url = "https://codeberg.org/ifreund/zig-pixman/archive/v0.1.0.tar.gz",
            .hash = "122014eeb4600a059bdcfe1c864862f17e6d5e4237e3bb7d6818f2a5583f6f4eb843",
        .@"zig-fcft" = .{
            .url = "https://git.sr.ht/~novakane/zig-fcft/archive/1.1.0.tar.gz",
            .hash = "1220a4029ee3ee70d3175c69878e2b70dccd000c4324bc74ba800d8a143b7250fb38",
        },
    },
}
-- 
2.45.2
Reply to thread Export thread (mbox)