Contents
Installed Program:
sdl-config
Installed Libraries:
libSDL
Installed Directories:
/usr/include/SDL
This package provides an SDL-1.2 compatibility layer using SDL-2 as a backend that need it.
CMake, GLU, and sdl2-compat
Install sdl12-compat by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=RELEASE \
-D SDL12TESTS=OFF \
-W no-dev -G Ninja .. &&
ninja
Now, as the root user:
ninja install && rm -vf /usr/lib/libSDLmain.a
-D SDL12TESTS=OFF: This
parameter disables building several tests.