alsa-plugins: optionally build pulseaudio support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2015-12-20 14:16:31 +01:00
parent f0df09c3c8
commit be7bf1e93b

View File

@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="ftp://ftp.alsa-project.org/pub/plugins/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib pulseaudio"
PKG_DEPENDS_TARGET="toolchain alsa-lib"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC=""
@ -32,9 +32,17 @@ PKG_LONGDESC=""
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
# for PulseAudio support
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pulseaudio"
ALSA_PLUGINS_PULSEAUDIO="--enable-pulseaudio"
else
ALSA_PLUGINS_PULSEAUDIO="--disable-pulseaudio"
fi
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--disable-jack \
--enable-pulseaudio \
$ALSA_PLUGINS_PULSEAUDIO \
--disable-samplerate \
--disable-maemo-plugin \
--disable-maemo-resource-manager \