package/pipewire: simplify alsa-lib feature selection
Instead of having the user need to figure out that 2 alsa-lib features
are needed for pipewire ALSA support, have the top-level pulseaudio
option select the relevant alsa-lib features, when alsa-lib is enabled
as already done for pulseaudio in commit
97cd3680a4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
55106a056e
commit
94ab3132cc
@ -4,6 +4,8 @@ config BR2_PACKAGE_PIPEWIRE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
select BR2_PACKAGE_ALSA_LIB_UCM if BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
|
||||
help
|
||||
PipeWire is a server and user space API to deal with
|
||||
|
@ -77,7 +77,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
PIPEWIRE_CONF_OPTS += -Dpipewire-alsa=enabled
|
||||
PIPEWIRE_DEPENDENCIES += alsa-lib
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ)$(BR2_PACKAGE_ALSA_LIB_UCM)$(BR2_PACKAGE_HAS_UDEV),yyy)
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
PIPEWIRE_CONF_OPTS += -Dalsa=enabled
|
||||
else
|
||||
PIPEWIRE_CONF_OPTS += -Dalsa=disabled
|
||||
|
Loading…
Reference in New Issue
Block a user