Skip to content

Commit 540fe66

Browse files
authored
Upgrade to SDL 3.4.16 (#31)
* Remove redundant SDL version from vendor info string SDL version is already included in the Zig wrapper package's version. * Upgrade to SDL 3.4.16
1 parent 5d74fc4 commit 540fe66

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎build.zig‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ pub fn build(b: *std.Build) !void {
5959
},
6060
.static => lib.root_module.addCMacro("SDL_STATIC_LIB", "1"),
6161
}
62-
lib.root_module.addCMacro("SDL_VENDOR_INFO", std.fmt.comptimePrint("\"{s} {s} (SDL {s})\"", .{
62+
lib.root_module.addCMacro("SDL_VENDOR_INFO", std.fmt.comptimePrint("\"{s} {s}\"", .{
6363
"https://github.com/allyourcodebase/SDL",
6464
build_zon.version,
65-
build_zon.dependencies.sdl.version,
6665
}));
6766
lib.installHeadersDirectory(upstream.path("include/SDL3"), "SDL3", .{});
6867
b.installArtifact(lib);

‎build.zig.zon‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.{
22
.name = .sdl,
33
.fingerprint = 0xec638ccbd103848b,
4-
.version = "1.0.2+3.4.14",
4+
.version = "1.0.2+3.4.16",
55
.minimum_zig_version = "0.16.0",
66
.dependencies = .{
77
.sdl = .{
8-
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.4.14.tar.gz",
9-
.hash = "N-V-__8AAAHL9wLH-k89zUdJesNpvVC3lHMzF3jnhXfuclqx",
10-
.version = "3.4.14",
8+
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.4.16.tar.gz",
9+
.hash = "N-V-__8AABHq9wIiTHGY4qR6mw45F_TX8FSvqsQQ-Wtq1tzY",
10+
.version = "3.4.16",
1111
},
1212
.dbus = .{
1313
.version = "1.16.2",

0 commit comments

Comments
 (0)