Skip to content

Commit 34ebcf6

Browse files
committed
ci: add missing libs to enable Wayland backend for SDL
1 parent 4cdfc4d commit 34ebcf6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/linux-appimage-qt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ fi
99

1010
export Qt6_DIR="/usr/lib/qt6"
1111
export PATH="$Qt6_DIR/bin:$PATH"
12+
export EXTRA_QT_PLUGINS="waylandcompositor"
13+
export EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so"
1214

1315
# Prepare Tools for building the AppImage
1416
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ jobs:
291291
submodules: recursive
292292

293293
- name: Install dependencies
294-
run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libfuse2 clang build-essential libasound2-dev libpulse-dev libopenal-dev
294+
run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libdecor-0-dev libxkbcommon-dev libglfw3-dev libgles2-mesa-dev libfuse2 clang build-essential libasound2-dev libpulse-dev libopenal-dev
295295

296296
- name: Cache CMake Configuration
297297
uses: actions/cache@v4
@@ -347,7 +347,7 @@ jobs:
347347
submodules: recursive
348348

349349
- name: Install dependencies
350-
run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libfuse2 clang build-essential qt6-base-dev qt6-tools-dev qt6-multimedia-dev libasound2-dev libpulse-dev libopenal-dev
350+
run: sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libdecor-0-dev libxkbcommon-dev libglfw3-dev libgles2-mesa-dev libfuse2 clang build-essential qt6-base-dev qt6-tools-dev qt6-multimedia-dev libasound2-dev libpulse-dev libopenal-dev
351351

352352
- name: Cache CMake Configuration
353353
uses: actions/cache@v4

0 commit comments

Comments
 (0)