Browse Source

package/vlc: add optional support for skins2

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
6191737cfc
1 changed files with 7 additions and 1 deletions
  1. 7 1
      package/vlc/vlc.mk

+ 7 - 1
package/vlc/vlc.mk

@@ -74,7 +74,6 @@ VLC_CONF_OPTS += \
 	--disable-schroedinger \
 	--disable-shine \
 	--disable-shout \
-	--disable-skins2 \
 	--disable-sndio \
 	--disable-spatialaudio \
 	--disable-srt \
@@ -560,6 +559,13 @@ else
 VLC_CONF_OPTS += --without-x
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy)
+VLC_CONF_OPTS += --enable-skins2
+VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm
+else
+VLC_CONF_OPTS += --disable-skins2
+endif
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 VLC_DEPENDENCIES += zlib
 endif