Add libinput 1.27.1 build from source for version requirement

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

View file

@ -44,7 +44,6 @@ jobs:
meson \
ninja-build \
wayland-protocols \
libinput-dev \
libxkbcommon-dev \
libpcre2-dev \
libpixman-1-dev \
@ -62,8 +61,25 @@ jobs:
libgles2-mesa-dev \
libegl1-mesa-dev \
libgbm-dev \
libevdev-dev \
libmtdev-dev \
libudev-dev \
libsystemd-dev \
pkg-config
- name: Build and install libinput 1.27.1
run: |
# Build libinput 1.27.1 from source since Ubuntu has older version
git clone https://gitlab.freedesktop.org/libinput/libinput.git
cd libinput
git checkout 1.27.1
# Download meson subprojects if needed
meson subprojects download || true
meson setup build/ --prefix=/usr
sudo ninja -C build/ install
sudo ldconfig
cd ..
- name: Build and install wayland 1.23.1
run: |
# Build wayland 1.23.1 from source