diff options
| author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-21 10:50:15 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-21 12:43:36 +0100 |
| commit | 2658f92566625f86e2fdcfc2fb1508d28d6390bd (patch) | |
| tree | a203e2dbb4f96db1d19c8f615006536c5b350798 /package/pulseaudio | |
| parent | 3ff5d3ff221003f17ac7e9862847946cf28e56c3 (diff) | |
| download | buildroot-2658f92566625f86e2fdcfc2fb1508d28d6390bd.tar.gz buildroot-2658f92566625f86e2fdcfc2fb1508d28d6390bd.zip | |
package/pulseaudio: add optional support for libsoxr
When libsoxr was compiled before, pulseaudio will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/pulseaudio | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libpulsecore-8.0.so]
0x0000000000000001 (NEEDED) Shared library: [libpulse.so.0]
0x0000000000000001 (NEEDED) Shared library: [libspeexdsp.so.1]
0x0000000000000001 (NEEDED) Shared library: [libsoxr.so.0]
[...]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pulseaudio')
| -rw-r--r-- | package/pulseaudio/pulseaudio.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk index cd8d0f9e50..36661ccd00 100644 --- a/package/pulseaudio/pulseaudio.mk +++ b/package/pulseaudio/pulseaudio.mk @@ -72,6 +72,13 @@ else PULSEAUDIO_CONF_OPTS += --disable-gtk3 endif +ifeq ($(BR2_PACKAGE_LIBSOXR),y) +PULSEAUDIO_CONF_OPTS += --with-soxr +PULSEAUDIO_DEPENDENCIES += libsoxr +else +PULSEAUDIO_CONF_OPTS += --without-soxr +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. |

