2021-11-25 15:49:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
export LIBWAYLAND_VERSION="1.18.0"
|
2021-11-25 15:59:44 +00:00
|
|
|
export WAYLAND_PROTOCOLS_VERSION="1.24"
|
2021-11-25 15:49:03 +00:00
|
|
|
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland
|
|
|
|
cd wayland
|
|
|
|
git checkout "$LIBWAYLAND_VERSION"
|
|
|
|
meson -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build
|
|
|
|
ninja -C _build install
|
|
|
|
cd ..
|
|
|
|
rm -rf wayland
|
2021-11-25 15:59:44 +00:00
|
|
|
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols
|
|
|
|
cd wayland-protocols
|
|
|
|
git checkout "$WAYLAND_PROTOCOLS_VERSION"
|
|
|
|
meson _build
|
|
|
|
ninja -C _build install
|
|
|
|
cd ..
|
|
|
|
rm -rf wayland-protocols
|