Skip to content

Commit 6512b20

Browse files
committed
chore: use wayland-protocols git
1 parent 81c1421 commit 6512b20

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,22 @@ jobs:
1818

1919
- name: Install deps
2020
run: |
21-
sudo apt install wayland-utils \
22-
wayland-protocols libwayland-dev \
23-
libpixman-1-dev libjxl-dev libpng-dev
21+
sudo apt install wayland-utils graphviz \
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+
cd wayland
28+
meson setup build --buildtype=release --prefix=/usr -Dtests=false -Ddocumentation=false
29+
sudo ninja -C build install
30+
31+
- name: Install wayland-protocols
32+
run: |
33+
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
34+
cd wayland-protocols
35+
meson setup build --buildtype=release --prefix=/usr
36+
sudo ninja -C build install
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)