package/pulseaudio: be explicit about udev usage
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: udev was already handled as an optional dependency, Bernd's patch only made it explicit by using --enable-libudev/--disable-libudev.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f658b1934f
commit
2160eb681c
@ -29,7 +29,6 @@ PULSEAUDIO_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
|
||||
$(if $(BR2_PACKAGE_DBUS),dbus) \
|
||||
$(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \
|
||||
$(if $(BR2_PACKAGE_HAS_UDEV),udev) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
||||
$(if $(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),webrtc-audio-processing) \
|
||||
@ -79,6 +78,13 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --without-soxr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-libudev
|
||||
PULSEAUDIO_DEPENDENCIES += udev
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-libudev
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
# The optional webrtc echo canceller is written in C++, causing auto* to want
|
||||
# to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
|
||||
|
Loading…
Reference in New Issue
Block a user