PageRenderTime 9ms CodeModel.GetById 7ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/multimedia/SDL/meta

http://github.com/OpenELEC/OpenELEC.tv
#! | 51 lines | 46 code | 5 blank | 0 comment | 0 complexity | 3c9194f6ea644946e13c6ee950ea0b81 MD5 | raw file
 1################################################################################
 2#      This file is part of OpenELEC - http://www.openelec.tv
 3#      Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
 4#
 5#  This Program is free software; you can redistribute it and/or modify
 6#  it under the terms of the GNU General Public License as published by
 7#  the Free Software Foundation; either version 2, or (at your option)
 8#  any later version.
 9#
10#  This Program is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13#  GNU General Public License for more details.
14#
15#  You should have received a copy of the GNU General Public License
16#  along with OpenELEC.tv; see the file COPYING.  If not, write to
17#  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18#  http://www.gnu.org/copyleft/gpl.html
19################################################################################
20
21PKG_NAME="SDL"
22PKG_VERSION="1.2.15"
23PKG_REV="1"
24PKG_ARCH="any"
25PKG_LICENSE="GPL"
26PKG_SITE="http://www.libsdl.org/"
27PKG_URL="http://www.libsdl.org/release/$PKG_NAME-$PKG_VERSION.tar.gz"
28PKG_DEPENDS="alsa-lib"
29PKG_BUILD_DEPENDS="toolchain yasm alsa-lib"
30PKG_PRIORITY="optional"
31PKG_SECTION="multimedia"
32PKG_SHORTDESC="libsdl: A cross-platform Graphic API"
33PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of 'Civilization: Call To Power.' Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD."
34PKG_IS_ADDON="no"
35
36PKG_AUTORECONF="no"
37
38if [ "$XORG_SUPPORT" = yes ]; then
39  PKG_DEPENDS="$PKG_DEPENDS libX11 libXrandr"
40  PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXrandr"
41fi
42
43if [ "$OPENGL_SUPPORT" = yes ]; then
44  PKG_DEPENDS="$PKG_DEPENDS $OPENGL"
45  PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS $OPENGL"
46fi
47
48if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
49  PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
50  PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
51fi