Skip to content

Commit

Permalink
update SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
jethrodaniel committed Sep 14, 2024
1 parent 8629e37 commit 67feae5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ pub fn build(b: *std.Build) !void {
.SDL_DISABLE_LSX = 1,
.SDL_DISABLE_LASX = 1,
.SDL_DISABLE_NEON = 1,

.SDL_PROCESS_POSIX = 1,
.SDL_PROCESS_DUMMY = 1,
};
lib.installConfigHeader(b.addConfigHeader(.{
.style = .{ .cmake = sdl_dep.path(
Expand Down Expand Up @@ -947,6 +950,9 @@ const generic_src_files = [_][]const u8{

"src/power/SDL_power.c",

"src/process/SDL_process.c",
"src/process/dummy/SDL_dummyprocess.c",

"src/render/SDL_d3dmath.c",
"src/render/SDL_render.c",
"src/render/SDL_render_unsupported.c",
Expand Down Expand Up @@ -1174,6 +1180,8 @@ const linux_src_files = [_][]const u8{
// "src/power/psp/SDL_syspower.c",
// "src/power/vita/SDL_syspower.c",

"src/process/SDL_process.c",

// "src/sensor/android/SDL_androidsensor.c",
// "src/sensor/n3ds/SDL_n3dssensor.c",
// "src/sensor/vita/SDL_vitasensor.c",
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
.paths = .{""},
.dependencies = .{
.sdl = .{
.url = "git+https://github.com/libsdl-org/SDL?ref=main#575d9cda6f169b06e8f500acb8d3534408216185",
.hash = "122094e5a48874587352f80fb1ebf7016bc585f6e82645c3b8b9cf5a6f815ab36baa",
.url = "git+https://github.com/libsdl-org/SDL?ref=main#27862907c65453e53828e9d892df81c8ce536ea7",
.hash = "12201ead5039f3cda212c6dbe0f293de87c25d8a859169187c63d5756b22b39768fa",
},
.sdl_ttf = .{
.url = "git+https://github.com/libsdl-org/SDL_ttf?ref=main#28e2a1126b8bcf97693d024dbd034f62fe373965",
Expand Down

0 comments on commit 67feae5

Please sign in to comment.