
CI has recently gained coverage of wayland platform in EGL tests, but some CI mesa builds such as arm builds currently don't enable the wayland platform. Enable it so test applications can properly initialize EGL with a wayland platform. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20480>
24 lines
609 B
Bash
24 lines
609 B
Bash
#!/bin/bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
set -ex
|
|
|
|
export LIBWAYLAND_VERSION="1.18.0"
|
|
export WAYLAND_PROTOCOLS_VERSION="1.24"
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland
|
|
cd wayland
|
|
git checkout "$LIBWAYLAND_VERSION"
|
|
meson -Ddocumentation=false -Ddtd_validation=false -Dlibraries=true _build $EXTRA_MESON_ARGS
|
|
ninja -C _build install
|
|
cd ..
|
|
rm -rf wayland
|
|
|
|
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols
|
|
cd wayland-protocols
|
|
git checkout "$WAYLAND_PROTOCOLS_VERSION"
|
|
meson _build $EXTRA_MESON_ARGS
|
|
ninja -C _build install
|
|
cd ..
|
|
rm -rf wayland-protocols
|