mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
SDL: add metafile support, build against upcoming pulseaudio if enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
53b4e65e67
commit
4a6468f986
@ -2,11 +2,11 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build alsa-lib
|
||||
$SCRIPTS/build libX11
|
||||
$SCRIPTS/build libXrandr
|
||||
$SCRIPTS/build Mesa
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
SDL_PULSEAUDIO="--enable-pulseaudio --enable-pulseaudio-shared"
|
||||
else
|
||||
SDL_PULSEAUDIO="--disable-pulseaudio --disable-pulseaudio-shared"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
@ -38,8 +38,7 @@ cd $PKG_BUILD
|
||||
--disable-esd \
|
||||
--disable-esdtest \
|
||||
--disable-esd-shared \
|
||||
--disable-pulseaudio \
|
||||
--disable-pulseaudio-shared \
|
||||
$SDL_PULSEAUDIO \
|
||||
--disable-arts \
|
||||
--disable-arts-shared \
|
||||
--disable-nas \
|
||||
|
@ -2,10 +2,5 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/install alsa-lib
|
||||
$SCRIPTS/install libX11
|
||||
$SCRIPTS/install libXrandr
|
||||
$SCRIPTS/install Mesa
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/build/.libs/*.so* $INSTALL/usr/lib
|
||||
|
19
packages/multimedia/SDL/meta
Normal file
19
packages/multimedia/SDL/meta
Normal file
@ -0,0 +1,19 @@
|
||||
PKG_NAME="SDL"
|
||||
PKG_VERSION="1.2.14"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.libsdl.org/"
|
||||
PKG_URL="http://www.libsdl.org/release//$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="alsa-lib libX11 libXrandr Mesa"
|
||||
PKG_BUILD_DEPENDS="toolchain alsa-lib libX11 libXrandr Mesa"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="libsdl: A cross-platform Graphic API"
|
||||
PKG_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."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
||||
fi
|
@ -1 +0,0 @@
|
||||
http://www.libsdl.org/release/SDL-1.2.14.tar.gz
|
Loading…
x
Reference in New Issue
Block a user