Build SDL2 VICE without X on an x86/amd64
From Jay's Cafe' Wiki
Setting up my base environment
sudo apt install screen vim-nox vim-scripts vim-youcompleteme vim-syntastic exuberant-ctags postfix mailutils tcpser -y
SDL and VICE Dependencies:
sudo apt-get install libfreetype6-dev libgl1-mesa-dev libgles2-mesa-dev libgbm-dev libudev-dev libasound2-dev \ liblzma-dev git build-essential gir1.2-ibus-1.0 libdbus-1-dev libegl1-mesa-dev libibus-1.0-5 libibus-1.0-dev \ libice-dev libsm-dev libsndio-dev libwayland-bin libwayland-dev libxi-dev libxinerama-dev libxkbcommon-dev \ libxrandr-dev libxss-dev libxt-dev libxv-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xinerama-dev -y
Retrieve and Build SDL Components
SDL from source debs
SDL 2 from source
wget https://www.libsdl.org/release/SDL2-2.0.9.tar.gz tar zxvf SDL2-2.0.9.tar.gz mkdir SDL2-2.0.9/jay-build cd SDL2-2.0.9/jay-build ../configure --disable-video-rpi --enable-video-kmsdrm --disable-video-opengl --disable-video-x11
SDL2_image from source
cd ~ wget https://libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz tar zxvf SDL2_image-2.0.4.tar.gz mkdir cd SDL2_image-2.0.4 ./configure && make -j $(nproc) && sudo make install