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>
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