package/bluez-alsa: add support for aptX / aptX HD

This adds support for aptX (HD) decoder / encoder powered by the
libopenaptx library.

Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yunhao Tian 2021-11-03 16:31:10 +08:00 committed by Thomas Petazzoni
parent 1e4050b2d0
commit 3ba8e88e39

View File

@ -69,4 +69,12 @@ else
BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm
endif
ifeq ($(BR2_PACKAGE_LIBOPENAPTX),y)
BLUEZ_ALSA_DEPENDENCIES += libopenaptx
BLUEZ_ALSA_CONF_OPTS += --with-libopenaptx --enable-aptx --enable-aptx-hd
else
BLUEZ_ALSA_CONF_OPTS += --without-libopenaptx --disable-aptx --disable-aptx-hd
endif
$(eval $(autotools-package))