mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
alsa-plugins: optionally build pulseaudio support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f0df09c3c8
commit
be7bf1e93b
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user