This driver supports Linux with SDL2 as a backend.
A toolchain based on fedora:41 is provided with the Containerfile in this directory.
From within the parent directory, run the following commands:
podman-compose up --no-build Linux-SDL2If you want to build the container yourself:
podman-compose up --build Linux-SDL2First, install the following tools and dependencies for your distro:
gcc gcc-c++ cmake git SDL2-devel SDL2_mixer-devel SDL2_ttf-devel
Then, run the following commands from the repo root:
mkdir build
cd build
cmake -DDRIVER_SDL2=TRUE ..
make -j4You can build the flatpak with the flatpak.sh script in the parent directory. Make sure to run it directly in the
driver directory and not here.
cd driver
./flatpak.shThis driver follows the license scheme of the parent driver at driver/SDL2.