Browse Source

package/vlc: add optional dependency to samba4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 7 years ago
parent
commit
b5488b00da
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/vlc/vlc.mk

+ 7 - 0
package/vlc/vlc.mk

@@ -387,6 +387,13 @@ else
 VLC_CONF_OPTS += --disable-sdl-image
 VLC_CONF_OPTS += --disable-sdl-image
 endif
 endif
 
 
+ifeq ($(BR2_PACKAGE_SAMBA4),y)
+VLC_CONF_OPTS += --enable-smbclient
+VLC_DEPENDENCIES += samba4
+else
+VLC_CONF_OPTS += --disable-smbclient
+endif
+
 ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
 ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
 VLC_CONF_OPTS += --enable-speex
 VLC_CONF_OPTS += --enable-speex
 VLC_DEPENDENCIES += speex speexdsp
 VLC_DEPENDENCIES += speex speexdsp