package/vlc: add optional dependency to pulseaudio
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 12 Aug 2018 20:29:19 +0000 (22:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 16 Aug 2018 10:00:35 +0000 (12:00 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/vlc/vlc.mk

index 14fe3b7861196bdfca86b858bfc186d63eb62c2c..b90fd602d329ab06f5883a59d6bacf7716ff5927 100644 (file)
@@ -362,6 +362,13 @@ else
 VLC_CONF_OPTS += --disable-ncurses
 endif
 
+ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
+VLC_CONF_OPTS += --enable-pulse
+VLC_DEPENDENCIES += pulseaudio
+else
+VLC_CONF_OPTS += --disable-pulse
+endif
+
 ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
 VLC_CONF_OPTS += --enable-qt
 VLC_CONF_ENV += \