glx
is likely better to target than sdl
sudo eopkg install git gcc glibc-devel binutils make g++ kernel-libc-devel sdl2-devel zlib-devel libjpeg-turbo-devel libx11-devel
sudo git clone -b 'master' 'git://git.xonotic.org/xonotic/xonotic.git' '/usr/share/xonotic' && sync
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' update -l 'best' && sync
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' clean --reclone && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync
mkdir -p ~/'.local/share/applications/Xonotic'
nano ~/'.local/share/applications/Xonotic/Xonotic.desktop'
[Desktop Entry] Name=Xonotic Categories=Game; Exec='/usr/share/xonotic/all' run 'sdl' Type=Application StartupNotify=true Path=/usr/share/xonotic Icon=XGM6_Xonotic.0
mkdir -p ~/'.local/share/icons/hicolor/512x512/apps' && cp '/usr/share/xonotic/misc/logos/icons_png/xonotic_512.png' ~/'.local/share/icons/hicolor/512x512/apps/XGM6_Xonotic.0.png'