repo/mesa/build
2021-07-16 02:05:23 +02:00

26 lines
766 B
Text
Executable file

wget https://archive.mesa3d.org//mesa-21.2.0-rc1.tar.xz
tar -xf mesa-21.2.0-rc1.tar.xz
cd mesa-21.2.0-rc1
sed '1s/python/&3/' -i bin/symbols-check.py
GALLIUM_DRV="i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
DRI_DRIVERS="i965,nouveau"
mkdir build
cd build
meson --prefix=$XORG_PREFIX \
--buildtype=release \
-Ddri-drivers=$DRI_DRIVERS \
-Dgallium-drivers=$GALLIUM_DRV \
-Dgallium-nine=false \
-Dglx=dri \
-Dvalgrind=disabled \
-Dlibunwind=disabled \
..
unset GALLIUM_DRV DRI_DRIVERS &&
ninja
ninja install
install -v -dm755 $1/usr/share/doc/mesa-21.1.4
cp -rfv ../docs/* $1/usr/share/doc/mesa-21.1.4