2023-05-24 11:03:39 +01:00
|
|
|
#!/usr/bin/env bash
|
2022-12-27 16:50:01 +00:00
|
|
|
# shellcheck disable=SC2086 # we want word splitting
|
2021-11-25 15:49:03 +00:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2024-03-28 22:11:11 +00:00
|
|
|
# When changing this file, you need to bump the following
|
|
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
|
|
# DEBIAN_BUILD_TAG
|
2024-04-24 14:48:24 +01:00
|
|
|
# DEBIAN_TEST_ANDROID_TAG
|
|
|
|
# DEBIAN_TEST_GL_TAG
|
|
|
|
# DEBIAN_TEST_VK_TAG
|
2024-03-28 22:11:11 +00:00
|
|
|
# FEDORA_X86_64_BUILD_TAG
|
|
|
|
# KERNEL_ROOTFS_TAG
|
|
|
|
|
2023-05-24 11:27:30 +01:00
|
|
|
export LIBWAYLAND_VERSION="1.21.0"
|
2024-03-28 22:11:11 +00:00
|
|
|
export WAYLAND_PROTOCOLS_VERSION="1.34"
|
2021-11-25 15:49:03 +00:00
|
|
|
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland
|
|
|
|
cd wayland
|
|
|
|
git checkout "$LIBWAYLAND_VERSION"
|
2023-05-24 11:03:39 +01:00
|
|
|
meson setup -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build $EXTRA_MESON_ARGS
|
|
|
|
meson install -C _build
|
2021-11-25 15:49:03 +00:00
|
|
|
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"
|
2023-05-24 11:03:39 +01:00
|
|
|
meson setup _build $EXTRA_MESON_ARGS
|
|
|
|
meson install -C _build
|
2021-11-25 15:59:44 +00:00
|
|
|
cd ..
|
|
|
|
rm -rf wayland-protocols
|