Skip to content

Commit f28bda7

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

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,31 @@ 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 libpng16
25+
run: |
26+
curl https://sourceforge.net/projects/libpng/files/libpng16/1.6.54/libpng-1.6.54.tar.xz/download -o libpng.tar.xz
27+
tar xcf libpng.tar.xz
28+
cd libpng
29+
./configure --prefix=/usr
30+
make check
31+
sudo make install
32+
33+
- name: Install wayland
34+
run: |
35+
git clone https://gitlab.freedesktop.org/wayland/wayland.git
36+
cd wayland
37+
meson setup build --buildtype=release --prefix=/usr -Dtests=false -Ddocumentation=false
38+
sudo ninja -C build install
39+
40+
- name: Install wayland-protocols
41+
run: |
42+
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
43+
cd wayland-protocols
44+
meson setup build --buildtype=release --prefix=/usr
45+
sudo ninja -C build install
2446
2547
- name: Build
2648
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)