mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-30 12:00:41 +00:00
re-introduce pulseaudio support
This commit is contained in:
parent
4ba0232f23
commit
99971c342b
@ -97,6 +97,15 @@ else
|
|||||||
XBMC_ALSA="--disable-alsa"
|
XBMC_ALSA="--disable-alsa"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
# for PulseAudio support
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET pulseaudio"
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||||
|
XBMC_PULSEAUDIO="--enable-pulse"
|
||||||
|
else
|
||||||
|
XBMC_PULSEAUDIO="--disable-pulse"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CEC_SUPPORT" = yes ]; then
|
if [ "$CEC_SUPPORT" = yes ]; then
|
||||||
# for CEC support
|
# for CEC support
|
||||||
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET libcec"
|
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET libcec"
|
||||||
@ -364,7 +373,7 @@ PKG_CONFIGURE_OPTS_TARGET="gl_cv_func_gettimeofday_clobber=no \
|
|||||||
$XBMC_XORG \
|
$XBMC_XORG \
|
||||||
--disable-ccache \
|
--disable-ccache \
|
||||||
$XBMC_ALSA \
|
$XBMC_ALSA \
|
||||||
--disable-pulse \
|
$XBMC_PULSEAUDIO \
|
||||||
--enable-rtmp \
|
--enable-rtmp \
|
||||||
$XBMC_SAMBA \
|
$XBMC_SAMBA \
|
||||||
$XBMC_NFS \
|
$XBMC_NFS \
|
||||||
|
@ -38,6 +38,12 @@ else
|
|||||||
SDL_OPENGL="--disable-video-opengl"
|
SDL_OPENGL="--disable-video-opengl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
SDL_PULSEAUDIO="--enable-pulseaudio --enable-pulseaudio-shared"
|
||||||
|
else
|
||||||
|
SDL_PULSEAUDIO="--disable-pulseaudio --disable-pulseaudio-shared"
|
||||||
|
fi
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
rm -f acinclude/alsa.m4
|
rm -f acinclude/alsa.m4
|
||||||
@ -74,8 +80,7 @@ mkdir -p .build-target && cd .build-target
|
|||||||
--disable-esd \
|
--disable-esd \
|
||||||
--disable-esdtest \
|
--disable-esdtest \
|
||||||
--disable-esd-shared \
|
--disable-esd-shared \
|
||||||
--disable-pulseaudio \
|
$SDL_PULSEAUDIO \
|
||||||
--disable-pulseaudio-shared \
|
|
||||||
--disable-arts \
|
--disable-arts \
|
||||||
--disable-arts-shared \
|
--disable-arts-shared \
|
||||||
--disable-nas \
|
--disable-nas \
|
||||||
|
@ -43,3 +43,7 @@ if [ "$OPENGL" = "Mesa" ]; then
|
|||||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS Mesa glu"
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS Mesa glu"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||||
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
||||||
|
fi
|
||||||
|
@ -146,6 +146,9 @@
|
|||||||
# build and install ALSA Audio support (yes / no)
|
# build and install ALSA Audio support (yes / no)
|
||||||
ALSA_SUPPORT="yes"
|
ALSA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
# build and install with non-free support
|
# build and install with non-free support
|
||||||
# (RAR compression support in XBMC) (yes / no)
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
NONFREE_SUPPORT="yes"
|
NONFREE_SUPPORT="yes"
|
||||||
|
@ -146,6 +146,9 @@
|
|||||||
# build and install ALSA Audio support (yes / no)
|
# build and install ALSA Audio support (yes / no)
|
||||||
ALSA_SUPPORT="yes"
|
ALSA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
# build and install with non-free support
|
# build and install with non-free support
|
||||||
# (RAR compression support in XBMC) (yes / no)
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
NONFREE_SUPPORT="yes"
|
NONFREE_SUPPORT="yes"
|
||||||
|
@ -146,6 +146,9 @@
|
|||||||
# build and install ALSA Audio support (yes / no)
|
# build and install ALSA Audio support (yes / no)
|
||||||
ALSA_SUPPORT="yes"
|
ALSA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
# build and install with non-free support
|
# build and install with non-free support
|
||||||
# (RAR compression support in XBMC) (yes / no)
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
NONFREE_SUPPORT="yes"
|
NONFREE_SUPPORT="yes"
|
||||||
|
@ -147,6 +147,9 @@
|
|||||||
# build and install ALSA Audio support (yes / no)
|
# build and install ALSA Audio support (yes / no)
|
||||||
ALSA_SUPPORT="no"
|
ALSA_SUPPORT="no"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
# build and install with non-free support
|
# build and install with non-free support
|
||||||
# (RAR compression support in XBMC) (yes / no)
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
NONFREE_SUPPORT="yes"
|
NONFREE_SUPPORT="yes"
|
||||||
|
@ -141,6 +141,9 @@
|
|||||||
# build and install ALSA Audio support (yes / no)
|
# build and install ALSA Audio support (yes / no)
|
||||||
ALSA_SUPPORT="yes"
|
ALSA_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
# build and install with non-free support
|
# build and install with non-free support
|
||||||
# (RAR compression support in XBMC) (yes / no)
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
NONFREE_SUPPORT="yes"
|
NONFREE_SUPPORT="yes"
|
||||||
|
Loading…
Reference in New Issue
Block a user