1#!/bin/bash 2 3set -ex 4 5export LIBWAYLAND_VERSION="1.18.0" 6export WAYLAND_PROTOCOLS_VERSION="1.24" 7 8git clone https://gitlab.freedesktop.org/wayland/wayland 9cd wayland 10git checkout "$LIBWAYLAND_VERSION" 11meson -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build 12ninja -C _build install 13cd .. 14rm -rf wayland 15 16git clone https://gitlab.freedesktop.org/wayland/wayland-protocols 17cd wayland-protocols 18git checkout "$WAYLAND_PROTOCOLS_VERSION" 19meson _build 20ninja -C _build install 21cd .. 22rm -rf wayland-protocols 23