package/mpv: use BR2_PACKAGE_MESA3D_GBM
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 24 Aug 2021 06:49:16 +0000 (08:49 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 28 Aug 2021 15:49:54 +0000 (17:49 +0200)
Use BR2_PACKAGE_MESA3D_GBM instead of BR2_PACKAGE_MESA3D_OPENGL_EGL as
GBM can also be provided by a DRI driver

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mpv/Config.in
package/mpv/mpv.mk

index 81b1e24b5f0d21aa7c01e99c827ac8b1d166ba8a..51c9799de833e1bdde1d36243dbb3c0c7cb6f9e9 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_MPV_SUPPORTS_VAAPI
        bool
-       default y if BR2_PACKAGE_LIBDRM && BR2_PACKAGE_MESA3D_OPENGL_EGL
+       default y if BR2_PACKAGE_LIBDRM && BR2_PACKAGE_MESA3D_GBM
        default y if BR2_PACKAGE_WAYLAND
        default y if BR2_PACKAGE_XORG7
 
index acda93f381363a43e56f42e10db4d56dca3dd772..a71a4b31143434c2091e45700f8ca18f0b1ab470 100644 (file)
@@ -47,8 +47,7 @@ else
 MPV_CONF_OPTS += --disable-alsa
 endif
 
-# GBM support is provided by mesa3d when EGL=y
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
+ifeq ($(BR2_PACKAGE_MESA3D_GBM),y)
 MPV_CONF_OPTS += --enable-gbm
 MPV_DEPENDENCIES += mesa3d
 ifeq ($(BR2_PACKAGE_LIBDRM),y)
@@ -185,7 +184,7 @@ endif
 ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MPV_SUPPORTS_VAAPI),yy)
 MPV_CONF_OPTS += --enable-vaapi
 MPV_DEPENDENCIES += libva
-ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy)
+ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_MESA3D_GBM),yy)
 MPV_CONF_OPTS += --enable-vaapi-drm
 else
 MPV_CONF_OPTS += --disable-vaapi-drm