sdl12-compat-1.2.70

Introduction to sdl12-compat

This package provides an SDL-1.2 compatibility layer using SDL-2 as a backend that need it.

Package Information

SDL Dependencies

Required

CMake, GLU, and sdl2-compat

Installation of sdl12-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

Command Explanations

-D SDL12TESTS=OFF: This parameter disables building several tests.

Contents

Installed Program: sdl-config
Installed Libraries: libSDL
Installed Directories: /usr/include/SDL

Short Descriptions

sdl-config

determines the compile and linker flags that should be used to compile and link programs that use libSDL

libSDL

contains functions that provide compatibility for SDL 1.2