2009-12-24 02:32:26 +00:00
|
|
|
# Template file for 'SDL'
|
|
|
|
pkgname=SDL
|
2012-01-21 20:07:50 +00:00
|
|
|
version=1.2.15
|
2011-06-08 14:45:39 +00:00
|
|
|
patch_args="-Np1"
|
2009-12-24 02:32:26 +00:00
|
|
|
distfiles="http://www.libsdl.org/release/SDL-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-12-24 02:32:26 +00:00
|
|
|
configure_args="--enable-alsa --disable-esd --disable-rpath
|
2011-06-08 14:45:39 +00:00
|
|
|
--enable-clock_gettime --disable-nas --disable-arts"
|
2009-12-24 02:32:26 +00:00
|
|
|
short_desc="Simple Directmedia Layer"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-08 14:45:39 +00:00
|
|
|
homepage="http://www.libsdl.org/"
|
|
|
|
license="LGPL-2.1"
|
2012-01-21 20:07:50 +00:00
|
|
|
checksum=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
|
2009-12-24 02:32:26 +00:00
|
|
|
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"
|
2012-01-21 20:07:50 +00:00
|
|
|
# The following run-time dependencies are dlopen(3)ed.
|
2009-12-24 02:32:26 +00:00
|
|
|
Add_dependency run libXext
|
|
|
|
Add_dependency run libXrender
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run alsa-lib
|
2010-11-20 00:44:12 +00:00
|
|
|
Add_dependency run libpulseaudio
|
|
|
|
|
2009-12-24 02:32:26 +00:00
|
|
|
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
|
2010-11-20 00:44:12 +00:00
|
|
|
Add_dependency build pulseaudio-devel
|