Fix build workflow by building wayland 1.23.1 from source

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-18 10:12:02 +00:00
parent f1b97a5453
commit b67179d9c6
2 changed files with 22 additions and 8 deletions

View file

@ -44,7 +44,6 @@ jobs:
meson \
ninja-build \
wayland-protocols \
libwayland-dev \
libinput-dev \
libxkbcommon-dev \
libpcre2-dev \
@ -57,8 +56,22 @@ jobs:
libliftoff-dev \
libdisplay-info-dev \
libseat-dev \
libffi-dev \
libexpat1-dev \
libxml2-dev \
pkg-config
- name: Build and install wayland 1.23
run: |
# Build wayland 1.23 from source since Ubuntu has older version
git clone https://gitlab.freedesktop.org/wayland/wayland.git
cd wayland
git checkout 1.23.1
meson setup build/ --prefix=/usr -Ddocumentation=false
sudo ninja -C build/ install
sudo ldconfig
cd ..
- name: Install wlroots 0.19
run: |
# Install wlroots 0.19 from source since it may not be in apt