package/vlc: wayland support needs wayland-protocols
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 21 Aug 2018 05:04:54 +0000 (07:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 21 Aug 2018 09:17:49 +0000 (11:17 +0200)
Fixes
http://autobuild.buildroot.net/results/3db/3dbb17bc548aa7d5fecd857a9bbd761729d20d4f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/vlc/vlc.mk

index d4be8b0bf13754ed714410c4c66916b6342be748..c77c945a34823141c9b437ffc910c577ed24936a 100644 (file)
@@ -519,9 +519,9 @@ else
 VLC_CONF_OPTS += --disable-udev
 endif
 
-ifeq ($(BR2_PACKAGE_WAYLAND),y)
+ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy)
 VLC_CONF_OPTS += --enable-wayland
-VLC_DEPENDENCIES += wayland
+VLC_DEPENDENCIES += wayland wayland-protocols
 else
 VLC_CONF_OPTS += --disable-wayland
 endif