Skip to content

Commit c3d2315

Browse files
committed
Updates to SDL 3.4.0
1 parent f85824b commit c3d2315

16 files changed

+1951
-236
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
zig-version: [master]
18-
os: [ubuntu-latest, windows-latest]
17+
zig-version: [0.15.0]
18+
os: [ubuntu-latest, windows-latest, macos-latest]
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
- name: Checkout
@@ -38,4 +38,6 @@ jobs:
3838

3939
- name: Build for macOS
4040
if: runner.os == 'macOS'
41-
run: zig build example -Dtarget=x86_64-macos-gnu --summary all
41+
# We don't support cross compiling for macOS, so don't set a target just build
42+
# the native target
43+
run: zig build example --summary all

build.zig.zon

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
.minimum_zig_version = "0.15.0",
66
.dependencies = .{
77
.sdl = .{
8-
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.2.22.tar.gz",
9-
.hash = "N-V-__8AAKFOjAPblBRKaUrjSSH-09iZsd0hSjTHMs3Wj2BE",
10-
.version = "3.2.22",
8+
.url = "https://github.com/libsdl-org/SDL/archive/refs/tags/release-3.4.0.tar.gz",
9+
.hash = "N-V-__8AABtk8gIAP7ZQ4yacjIPcrx3btsH0bGNpJG4MPpm6",
10+
.version = "3.4.0",
1111
},
1212
.dbus = .{
1313
.version = "1.16.0",
@@ -23,13 +23,14 @@
2323
.hash = "N-V-__8AAMlebQAc6dRDTEIyEn_i5KeO8qNg3YdK_Sg1KgDT",
2424
},
2525
.wayland = .{
26-
.version = "1.23.91",
27-
.url = "https://gitlab.freedesktop.org/wayland/wayland/-/archive/1.23.91/wayland-1.23.91.tar.gz",
28-
.hash = "N-V-__8AAKwRGQDuKfsGZKYj0NR5UBS8cR6-VKgoYzbRcqbY",
26+
.version = "1.24.0",
27+
.url = "git+https://gitlab.freedesktop.org/wayland/wayland#736d12ac67c20c60dc406dc49bb06be878501f86",
28+
.hash = "N-V-__8AAGoeGQBEn6KguTJUXrCE0tIRrrXfQX7hYHoKCJwZ",
2929
},
3030
.xkbcommon = .{
31-
.url = "https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.10.0.tar.gz",
32-
.hash = "N-V-__8AAEq0XgBjGDGxFauY884ZX6kSkgXmismD6G5l5Su9",
31+
.version = "1.9.2",
32+
.url = "https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.9.2.tar.gz",
33+
.hash = "N-V-__8AAEg7XADqmm_Axa-ISq9_0pDsCLjf9Xd8NIOndVMH",
3334
},
3435
.xorgproto = .{
3536
.url = "https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/archive/xorgproto-2024.1/xorgproto-xorgproto-2024.1.tar.gz",
@@ -125,6 +126,17 @@
125126
.url = "https://sndio.org/sndio-1.10.0.tar.gz",
126127
.hash = "N-V-__8AAKA0CgB5SuKmufbOKBnZsjDFZuUTNO70MHQEf1p8",
127128
},
129+
.fribidi = .{
130+
.version = "1.0.16",
131+
.interface_version = 4,
132+
.unicode_version = "16.0.0",
133+
.url = "https://github.com/fribidi/fribidi/archive/refs/tags/v1.0.16.tar.gz",
134+
.hash = "N-V-__8AABbxDAFJr4_dchs33gEqLRpBMP2oUBTuIueW9u_h",
135+
},
136+
.thai = .{
137+
.url = "https://github.com/tlwg/libthai/archive/refs/tags/v0.1.30.tar.gz",
138+
.hash = "N-V-__8AAAqMIgArahV5mT0LGKWmDhZC9QtlMIZlaT9yp_lP",
139+
},
128140
},
129141
.paths = .{
130142
"build.zig",

0 commit comments

Comments
 (0)