%general-entities; ]> $LastChangedBy$ $Date$ SDL2-&sdl2-version; SDL2 Introduction to SDL2 The Simple DirectMedia Layer Version 2 (SDL2 for short) is a cross-platform library designed to make it easy to write multimedia software, such as games and emulators. &lfs84_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &sdl2-md5sum; Download size: &sdl2-size; Estimated disk space required: &sdl2-buildsize; Estimated build time: &sdl2-time; SDL2 Dependencies Optional , (to create documentation), , , , , DirectFB, and fcitx User Notes: Installation of SDL2 Install SDL2 by running the following commands: ./configure --prefix=/usr && make If you have installed and want to build the html documentation, run the following commands: pushd docs && doxygen && popd If you wish to build and run the package regression tests, do not delete the static libraries below until after the tests are built. Now, as the root user: make install && rm -v /usr/lib/libSDL2*.a If you built the documentation, install it as the root user: install -v -m755 -d /usr/share/doc/SDL2-&sdl2-version;/html && cp -Rv docs/output/html/* /usr/share/doc/SDL2-&sdl2-version;/html Command Explanations rm -v /usr/lib/libSDL2*.a: Normally static libraries can be disabled with a option to configure, but that breaks the build in this package. : This switch disables dynamically loading ALSA shared libraries. : This switch disables using dlopen for shared object loading. Loading image backend libraries like libpng dynamically on the fly does not work. : This switch disables dynamically loading X11 shared libraries. Configuring SDL2 Configuration Information Contents Installed Program Installed Libraries Installed Directories sdl2-config libSDL2.so /usr/include/SDL2 and /usr/share/doc/SDL-&sdl2-version; Short Descriptions sdl2-config determines the compile and linker flags that should be used to compile and link programs that use libSDL2. sdl2-config libSDL2.so library provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D frame buffer across multiple platforms. libSDL2.so