# Template file for 'SDL'
pkgname=SDL
version=1.2.14
revision=1
distfiles="http://www.libsdl.org/release/SDL-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-alsa --disable-esd --disable-rpath
 --enable-clock_gettime --disable-nas --disable-arts --disable-pulseaudio"
short_desc="Simple Directmedia Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6
long_desc="
 Simple DirectMedia Layer is a cross-platform multimedia library designed
 to provide low level access to audio, keyboard, mouse, joystick, 3D hardware
 via OpenGL, and 2D video framebuffer. It is used by MPEG playback software,
 emulators, and many popular games, including the award winning Linux port
 of Civilization: Call To Power."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libXext
Add_dependency run libXrender
Add_dependency run libX11
Add_dependency run MesaLib
Add_dependency run alsa-lib
Add_dependency build pkg-config
Add_dependency build nasm
Add_dependency build libXext-devel
Add_dependency build libXrender-devel
Add_dependency build libX11-devel
Add_dependency build MesaLib-devel
Add_dependency build alsa-lib-devel
