package/alsa-plugins: fix dependencies for the alsa plugin package

The alsa-utils will remove and create the /usr/share/alsa dir
as a whole and since the alsa plugins needs to add config into
this same directory it should come after those install steps.

Also, the bluez alsa needs the plugins installed to find them
during the configuration phases - so, interlock the plugins
when configured.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 3223a34ee5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Charles Hardin 2023-06-20 10:38:12 -07:00 committed by Peter Korsgaard
parent 0067ab06a3
commit 9153c6283b
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,10 @@ ALSA_PLUGINS_CONF_OPTS = \
--disable-maemo-resource-manager \ --disable-maemo-resource-manager \
--with-speex=no --with-speex=no
ifeq ($(BR2_PACKAGE_ALSA_UTILS),y)
ALSA_PLUGINS_DEPENDENCIES += alsa-utils
endif
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
ALSA_PLUGINS_CONF_OPTS += --enable-samplerate ALSA_PLUGINS_CONF_OPTS += --enable-samplerate
ALSA_PLUGINS_DEPENDENCIES += libsamplerate ALSA_PLUGINS_DEPENDENCIES += libsamplerate

View File

@ -20,6 +20,10 @@ BLUEZ_ALSA_CONF_OPTS = \
--with-alsaplugindir=/usr/lib/alsa-lib \ --with-alsaplugindir=/usr/lib/alsa-lib \
--with-alsaconfdir=/etc/alsa/conf.d --with-alsaconfdir=/etc/alsa/conf.d
ifeq ($(BR2_PACKAGE_ALSA_PLUGINS),y)
BLUEZ_ALSA_DEPENDENCIES += alsa-plugins
endif
ifeq ($(BR2_PACKAGE_FDK_AAC),y) ifeq ($(BR2_PACKAGE_FDK_AAC),y)
BLUEZ_ALSA_DEPENDENCIES += fdk-aac BLUEZ_ALSA_DEPENDENCIES += fdk-aac
BLUEZ_ALSA_CONF_OPTS += --enable-aac BLUEZ_ALSA_CONF_OPTS += --enable-aac