mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-03 23:24:17 +08:00
a2fd507973
Rather than relying on distro packages, build libwayland and wayland-protocols from known versions everywhere we need it. The only place we do not do so but rely on distro packages is the LAVA rootfs, for which it does not matter right now since the version is sufficiently new, but this could/should be cleaned up later. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11248>
23 lines
520 B
Bash
23 lines
520 B
Bash
#!/bin/bash
|
|
|
|
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
|
|
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
|
|
ninja -C _build install
|
|
cd ..
|
|
rm -rf wayland-protocols
|