1#!/usr/bin/env bash 2# shellcheck disable=SC2086 # we want word splitting 3 4set -uex 5 6uncollapsed_section_start wayland "Building Wayland" 7 8# When changing this file, you need to bump the following 9# .gitlab-ci/image-tags.yml tags: 10# DEBIAN_BUILD_TAG 11# DEBIAN_TEST_ANDROID_TAG 12# DEBIAN_TEST_GL_TAG 13# DEBIAN_TEST_VK_TAG 14# FEDORA_X86_64_BUILD_TAG 15# KERNEL_ROOTFS_TAG 16 17export LIBWAYLAND_VERSION="1.21.0" 18export WAYLAND_PROTOCOLS_VERSION="1.38" 19 20git clone https://gitlab.freedesktop.org/wayland/wayland 21cd wayland 22git checkout "$LIBWAYLAND_VERSION" 23meson setup -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build ${EXTRA_MESON_ARGS:-} 24meson install -C _build 25cd .. 26rm -rf wayland 27 28git clone https://gitlab.freedesktop.org/wayland/wayland-protocols 29cd wayland-protocols 30git checkout "$WAYLAND_PROTOCOLS_VERSION" 31meson setup -Dtests=false _build ${EXTRA_MESON_ARGS:-} 32meson install -C _build 33cd .. 34rm -rf wayland-protocols 35 36section_end wayland 37