# Template file for 'SDL'
pkgname=SDL
version=1.2.15
revision=2
patch_args="-Np1"
build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath
--enable-clock_gettime --disable-nas --disable-arts"
# The following run-time dependencies are dlopen(3)ed.
subpackages="$pkgname-devel"
depends="libX11 libXext libXrender libXi alsa-lib libpulseaudio"
makedepends="pkg-config nasm libXext-devel libXrender-devel libX11-devel
MesaLib-devel alsa-lib-devel pulseaudio-devel"
short_desc="Simple Directmedia Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libsdl.org/"
license="LGPL-2.1"
distfiles="http://www.libsdl.org/release/SDL-$version.tar.gz"
checksum=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
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."
