mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
alsa-plugins: build with pulseaudio support if enabled, build with libsamplerate support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
44304ef384
commit
9eec520c19
@ -22,6 +22,12 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
ALSA_PULSEAUDIO="--enable-pulseaudio"
|
||||
else
|
||||
ALSA_PULSEAUDIO="--disable-pulseaudio"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
@ -33,9 +39,9 @@ cd $PKG_BUILD
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-jack \
|
||||
--disable-samplerate \
|
||||
--enable-samplerate \
|
||||
--disable-avcodec \
|
||||
--disable-pulseaudio \
|
||||
$ALSA_PULSEAUDIO \
|
||||
--with-speex=lib \
|
||||
|
||||
$MAKE
|
||||
|
@ -25,8 +25,8 @@ 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="alsa-lib speex"
|
||||
PKG_BUILD_DEPENDS="toolchain alsa-lib speex"
|
||||
PKG_DEPENDS="alsa-lib speex libsamplerate"
|
||||
PKG_BUILD_DEPENDS="toolchain alsa-lib speex libsamplerate"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="audio"
|
||||
PKG_SHORTDESC="alsa-plugins: Advanced Linux Sound Architecture Plugins"
|
||||
@ -34,3 +34,8 @@ PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Li
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
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