package/libva: switch to virtual opengl provider
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 12 Oct 2019 15:39:31 +0000 (17:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 22 Oct 2019 20:59:38 +0000 (22:59 +0200)
This allows to use libva without mesa3d.

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

index 6c8243da905dbebe9a9fb7249c87e70d1fe4c530..176f971128afd4adde624e86cf7846a030553ce6 100644 (file)
@@ -20,8 +20,8 @@ LIBVA_CONF_OPTS = \
 ifeq ($(BR2_PACKAGE_XORG7),y)
 LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes
 LIBVA_CONF_OPTS += --enable-x11
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
-LIBVA_DEPENDENCIES += mesa3d
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+LIBVA_DEPENDENCIES += libgl
 LIBVA_CONF_OPTS += --enable-glx
 endif
 else