package/mpv: use BR2_PACKAGE_MESA3D_GBM
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>
This commit is contained in:
parent
6d664e9cfe
commit
17a7abbafe
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user