Skip to content

Commit 7b49bd8

Browse files
committed
chore: use wayland-protocols git
1 parent 81c1421 commit 7b49bd8

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,21 @@ jobs:
1919
- name: Install deps
2020
run: |
2121
sudo apt install wayland-utils \
22-
wayland-protocols libwayland-dev \
23-
libpixman-1-dev libjxl-dev libpng-dev
22+
libpixman-1-dev libjxl-dev libpng-dev meson
23+
24+
- name: Install wayland
25+
run: |
26+
git clone https://gitlab.freedesktop.org/wayland/wayland.git
27+
meson setup build --buildtype=release --prefix=/usr -Dtests=false wayland
28+
ninja -C build install
29+
rm -rf build
30+
31+
- name: Install wayland-protocols
32+
run: |
33+
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
34+
meson setup build --buildtype=release --prefix=/usr wayland-protocols
35+
ninja -C build install
36+
rm -rf build
2437
2538
- name: Build
2639
run: |

build.vsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if arguments().contains('clean') {
4545
program_installed('pkg-config')
4646
program_installed('wayland-scanner')
4747
48-
pkg_installed('wayland-protocols', 1.37)
48+
pkg_installed('wayland-protocols', 1.41)
4949
pkg_installed('wayland-client', none)
5050
pkg_installed('pixman-1', none)
5151
pkg_installed('libjxl', none)

0 commit comments

Comments
 (0)