![Jörg Krause](/assets/img/avatar_default.png)
Since alsa-lib version 1.1.7 [1] the location for add-on config files
has changed.
In fact, the path for the alsa add-on config files has never been
correct set in the package (it should have been
`/usr/share/alsa/alsa.conf.d`).
With alsa-lib version 1.1.7 or later the correct path is
`/etc/alsa/conf.d`.
[1] 93e03bdc2a
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
72 lines
1.8 KiB
Makefile
72 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# bluez-alsa
|
|
#
|
|
################################################################################
|
|
|
|
BLUEZ_ALSA_VERSION = 2.1.0
|
|
BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION))
|
|
BLUEZ_ALSA_LICENSE = MIT
|
|
BLUEZ_ALSA_LICENSE_FILES = LICENSE
|
|
BLUEZ_ALSA_DEPENDENCIES = alsa-lib bluez5_utils libglib2 sbc host-pkgconf
|
|
|
|
# git repo, no configure
|
|
BLUEZ_ALSA_AUTORECONF = YES
|
|
|
|
BLUEZ_ALSA_CONF_OPTS = \
|
|
--enable-aplay \
|
|
--disable-debug-time \
|
|
--with-alsaplugindir=/usr/lib/alsa-lib \
|
|
--with-alsaconfdir=/etc/alsa/conf.d
|
|
|
|
ifeq ($(BR2_PACKAGE_FDK_AAC),y)
|
|
BLUEZ_ALSA_DEPENDENCIES += fdk-aac
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-aac
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-aac
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LAME),y)
|
|
BLUEZ_ALSA_DEPENDENCIES += lame
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-mp3lame
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-mp3lame
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MPG123),y)
|
|
BLUEZ_ALSA_DEPENDENCIES += mpg123
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-mpg123
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-mpg123
|
|
endif
|
|
|
|
# no build dependency, disables internal HFP in favor of oFonos HFP profile
|
|
ifeq ($(BR2_PACKAGE_OFONO),y)
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-ofono
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-ofono
|
|
endif
|
|
|
|
# no build dependency, enables integration with UPower D-Bus service
|
|
ifeq ($(BR2_PACKAGE_UPOWER),y)
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-upower
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-upower
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_HCITOP),y)
|
|
BLUEZ_ALSA_DEPENDENCIES += libbsd ncurses
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-hcitop
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-hcitop
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_RFCOMM),y)
|
|
BLUEZ_ALSA_DEPENDENCIES += readline
|
|
BLUEZ_ALSA_CONF_OPTS += --enable-rfcomm
|
|
else
|
|
BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|