aboutsummaryrefslogtreecommitdiff
path: root/package/vlc/vlc.mk
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-02-08 15:34:51 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-08 22:03:09 +0100
commitefa9a3f25e9db265a95d51b33a49d4556d45e713 (patch)
tree910f78d308395935e7da344bac00b675428bb17a /package/vlc/vlc.mk
parent4d58ca1b4833138d67f7eec2a9fd395240c79fab (diff)
downloadbuildroot-efa9a3f25e9db265a95d51b33a49d4556d45e713.tar.gz
buildroot-efa9a3f25e9db265a95d51b33a49d4556d45e713.tar.bz2
vlc: fix bonjour support
bonjour support checks for avahi-client, which requires avahi-daemon and dbus enabled. Fixes: http://autobuild.buildroot.org/results/f8b/f8bed9a42f1853db8aa81161d7be5a7cb67afe8f/build-end.log Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vlc/vlc.mk')
-rw-r--r--package/vlc/vlc.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 5c102751f9..10271516ac 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -38,9 +38,10 @@ else
VLC_CONF_OPT += --disable-alsa
endif
-ifeq ($(BR2_PACKAGE_AVAHI),y)
+# bonjour support needs avahi-client, which needs avahi-daemon and dbus
+ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
VLC_CONF_OPT += --enable-bonjour
-VLC_DEPENDENCIES += avahi
+VLC_DEPENDENCIES += avahi dbus
else
VLC_CONF_OPT += --disable-bonjour
endif