vlc: fix bonjour support
authorSamuel Martin <s.martin49@gmail.com>
Sat, 8 Feb 2014 14:34:51 +0000 (15:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Feb 2014 21:03:09 +0000 (22:03 +0100)
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>
package/vlc/vlc.mk

index 5c102751f9d5fa0ff6bde7a54c78a11a5581a13d..10271516ac26a4552dcac090b38759cc60af31bd 100644 (file)
@@ -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