mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
SDL: build with pulseaudio support if enabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1a8c4a454a
commit
f344fbbec0
@ -22,6 +22,12 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
SDL_PULSEAUDIO="--enable-pulseaudio --enable-pulseaudio-shared"
|
||||
else
|
||||
SDL_PULSEAUDIO="--disable-pulseaudio --disable-pulseaudio-shared"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
rm -f acinclude/alsa.m4
|
||||
@ -58,8 +64,7 @@ rm -f acinclude/alsa.m4
|
||||
--disable-esd \
|
||||
--disable-esdtest \
|
||||
--disable-esd-shared \
|
||||
--disable-pulseaudio \
|
||||
--disable-pulseaudio-shared \
|
||||
$SDL_PULSEAUDIO \
|
||||
--disable-arts \
|
||||
--disable-arts-shared \
|
||||
--disable-nas \
|
||||
|
@ -34,3 +34,9 @@ PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library de
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF=""
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user