summaryrefslogtreecommitdiffstats
path: root/package/pulseaudio/pulseaudio.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/pulseaudio/pulseaudio.mk')
-rw-r--r--package/pulseaudio/pulseaudio.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk
index 6a9e369ba3..98e49bd81b 100644
--- a/package/pulseaudio/pulseaudio.mk
+++ b/package/pulseaudio/pulseaudio.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PULSEAUDIO_VERSION = 4.0
+PULSEAUDIO_VERSION = 5.0
PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz
PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases/
PULSEAUDIO_INSTALL_STAGING = YES
@@ -41,6 +41,13 @@ else
PULSEAUDIO_CONF_OPT += --disable-orc
endif
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+PULSEAUDIO_DEPENDENCIES += libcap
+PULSEAUDIO_CONF_OPT += --with-caps
+else
+PULSEAUDIO_CONF_OPT += --without-caps
+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.
OpenPOWER on IntegriCloud