From: Bernd Kuhls Date: Sun, 12 Aug 2018 20:29:32 +0000 (+0200) Subject: package/vlc: add optional dependency to libva X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1ff252506735a4e97cb846ccc87528ab2d65678;p=buildroot.git package/vlc: add optional dependency to libva Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index a15bda3204..af500cba33 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -64,7 +64,6 @@ VLC_CONF_OPTS += \ --disable-kate \ --disable-kva \ --disable-libplacebo \ - --disable-libva \ --disable-linsys \ --disable-mfx \ --disable-microdns \ @@ -378,6 +377,14 @@ else VLC_CONF_OPTS += --disable-upnp endif +# libva support depends on ffmpeg +ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy) +VLC_CONF_OPTS += --enable-libva +VLC_DEPENDENCIES += libva +else +VLC_CONF_OPTS += --disable-libva +endif + ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) VLC_CONF_OPTS += --enable-vnc VLC_DEPENDENCIES += libvncserver