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