mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
bluez: remove audio and alsa support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
881dc79add
commit
14a82dffa2
@ -22,12 +22,6 @@
|
||||
|
||||
. config/options
|
||||
|
||||
if [ "$ALSA_SUPPORT" = "yes" ]; then
|
||||
BLUEZ_ALSA="--enable-audio --enable-alsa"
|
||||
else
|
||||
BLUEZ_ALSA="--disable-audio --disable-alsa"
|
||||
fi
|
||||
|
||||
if [ "$DEBUG" = "yes" ]; then
|
||||
DEBUG_CONFIG="--enable-debug"
|
||||
else
|
||||
@ -62,7 +56,8 @@ cd $PKG_BUILD
|
||||
--enable-health \
|
||||
--disable-pnat \
|
||||
--disable-gstreamer \
|
||||
$BLUEZ_ALSA \
|
||||
--disable-audio \
|
||||
--disable-alsa \
|
||||
--enable-usb \
|
||||
--enable-datafiles \
|
||||
--enable-pcmcia \
|
||||
|
@ -30,10 +30,6 @@ mkdir -p $INSTALL/etc/bluetooth
|
||||
cp $PKG_BUILD/tools/rfcomm.conf $INSTALL/etc/bluetooth
|
||||
cp $PKG_BUILD/input/input.conf $INSTALL/etc/bluetooth
|
||||
|
||||
if [ "$ALSA_SUPPORT" = yes ]; then
|
||||
cp $PKG_BUILD/audio/audio.conf $INSTALL/etc/bluetooth
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||
cp $PKG_BUILD/src/bluetooth.conf $INSTALL/etc/dbus-1/system.d
|
||||
|
||||
@ -47,19 +43,9 @@ mkdir -p $INSTALL/lib/udev/rules.d
|
||||
# todo: cp $PKG_BUILD/scripts/97-bluetooth-hid2hci.rules $INSTALL/lib/udev/rules.d
|
||||
# not needed: cp $PKG_BUILD/scripts/97-bluetooth-serial.rules $INSTALL/lib/udev/rules.d
|
||||
|
||||
if [ "$ALSA_SUPPORT" = yes ]; then
|
||||
mkdir -p $INSTALL/usr/lib/alsa
|
||||
cp $PKG_BUILD/audio/.libs/*.so $INSTALL/usr/lib/alsa
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/bluetooth/plugins
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/src/bluetoothd $INSTALL/usr/sbin
|
||||
|
||||
mkdir -p $INSTALL/usr/share/alsa
|
||||
cp $PKG_BUILD/audio/bluetooth.conf $INSTALL/usr/share/alsa
|
||||
|
||||
if [ "$DEVTOOLS" = "yes" ]; then
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/ciptool $INSTALL/usr/bin
|
||||
|
@ -34,8 +34,3 @@ PKG_LONGDESC="Bluetooth Tools and System Daemons for Linux."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
if [ "$ALSA_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS alsa-lib"
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS alsa-lib"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user