依赖
git clone https://gitlab.freedesktop.org/mesa/drm.git
meson builddir/
ninja -C builddir/ install
git clone https://gitlab.freedesktop.org/wayland/wayland.git
meson setup builddir -Ddocumentation=false
ninja -C builddir/ install
编译
sudo apt install libxcb-randr0-dev
sudo apt install libx11-xcb-dev
sudo apt install libxcb-dri3-dev
sudo apt install libxcb-present-dev
sudo apt install libxcb-shm0-dev
sudo apt install libxshmfence-devgit clone https://gitlab.freedesktop.org/mesa/mesa.git
cd mesa
installdir="$HOME/.meson"
mkdir -p ${installdir}
meson setup builddir/ -Dprefix=${installdir} -Dglx=xlib -Dgallium-drivers=swrast -Dvulkan-drivers=swrast
meson install -C builddir/
参考
- mesa3d index
- mesa repo
- wayland build
- wayland