Skip to content

Commit 6a4fdda

Browse files
authored
Merge pull request #3644 from aatle/sdl3-deps
Fix SDL3 build workflow
2 parents 6fea16a + ec55b77 commit 6a4fdda

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build-sdl3.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,17 @@ jobs:
6767
if: matrix.os == 'macos-14'
6868
run: brew install freetype portmidi
6969

70-
# taken from dependencies of the 'libsdl2-dev' package
71-
- name: Install SDL deps (linux)
70+
# taken from https://wiki.libsdl.org/SDL3/README-linux#build-dependencies
71+
- name: Install SDL3 deps (linux)
7272
if: matrix.os == 'ubuntu-24.04'
7373
run: >
74-
sudo apt-get install libasound2-dev libdbus-1-dev libdecor-0-dev libdrm-dev
75-
libegl-dev libgbm-dev libgl-dev libgles-dev libibus-1.0-dev libpulse-dev
76-
libsamplerate0-dev libsndio-dev libudev-dev libwayland-dev libx11-dev
77-
libxcursor-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev
78-
libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev
74+
sudo apt-get install build-essential git make
75+
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev
76+
libaudio-dev libfribidi-dev libjack-dev libsndio-dev libx11-dev libxext-dev
77+
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev
78+
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev
79+
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev
80+
libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev
7981
8082
# taken from https://wiki.libsdl.org/SDL3/Installation
8183
- name: Install SDL3

0 commit comments

Comments
 (0)