re-introduce pulseaudio support

This commit is contained in:
Stefan Saraev 2014-01-07 19:18:06 +02:00
parent 4ba0232f23
commit 99971c342b
8 changed files with 36 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"