mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 13:44:06 +08:00
c3171bfd6a
Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281>
33 lines
864 B
Bash
33 lines
864 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
set -uex
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# DEBIAN_BUILD_TAG
|
|
# DEBIAN_TEST_ANDROID_TAG
|
|
# DEBIAN_TEST_GL_TAG
|
|
# DEBIAN_TEST_VK_TAG
|
|
# FEDORA_X86_64_BUILD_TAG
|
|
# KERNEL_ROOTFS_TAG
|
|
|
|
export LIBWAYLAND_VERSION="1.21.0"
|
|
export WAYLAND_PROTOCOLS_VERSION="1.34"
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland
|
|
cd wayland
|
|
git checkout "$LIBWAYLAND_VERSION"
|
|
meson setup -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build ${EXTRA_MESON_ARGS:-}
|
|
meson install -C _build
|
|
cd ..
|
|
rm -rf wayland
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols
|
|
cd wayland-protocols
|
|
git checkout "$WAYLAND_PROTOCOLS_VERSION"
|
|
meson setup _build ${EXTRA_MESON_ARGS:-}
|
|
meson install -C _build
|
|
cd ..
|
|
rm -rf wayland-protocols
|