Files
xserver/.github/scripts/install-prereq.sh
Enrico Weigelt, metux IT consult 536719a49d .github: use our own mirrors of build dependencies
f.d.o is failing too often in recent times, so switching to our
own mirrors at github.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-18 10:27:55 +02:00

26 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
set -e
. .github/scripts/util.sh
mkdir -p $X11_BUILD_DIR
cd $X11_BUILD_DIR
build_meson rendercheck https://github.com/X11Libre/rendercheck rendercheck-1.6
if [ "$X11_OS" = "Linux" ]; then
build_meson drm https://github.com/X11Libre/drm libdrm-2.4.121 -Domap=enabled
fi
build_meson libxcvt https://github.com/X11Libre/libxcvt libxcvt-0.1.0
build_ac xorgproto https://github.com/X11Libre/xorgproto xorgproto-2024.1
if [ "$X11_OS" = "Darwin" ]; then
build_ac xset https://github.com/X11Libre/xset xset-1.2.5
fi
# really must be build via autoconf instead of meson, otherwise piglit wont find the test programs
build_ac_xts xts https://github.com/X11Libre/xts 12a887c2c72c4258962b56ced7b0aec782f1ffed
clone_source piglit https://github.com/X11Libre/piglit 28d1349844eacda869f0f82f551bcd4ac0c4edfe
echo '[xts]' > piglit/piglit.conf
echo "path=$X11_BUILD_DIR/xts" >> piglit/piglit.conf