From: Bernd Kuhls Date: Sun, 12 Aug 2018 20:29:35 +0000 (+0200) Subject: package/vlc: add optional support for skins2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6191737cfc54a277445673ea86d564ea48d51318;p=buildroot.git package/vlc: add optional support for skins2 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 53a2b61633..ed682e60b3 100644 --- a/package/vlc/vlc.mk +++ b/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