package/mpv: add optional support for OpenGL DRM EGL Backend
Reference: https://github.com/mpv-player/mpv/blob/master/wscript#L571 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
df19d7d173
commit
031df474c2
@ -50,8 +50,13 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
MPV_CONF_OPTS += --enable-gbm
|
||||
MPV_DEPENDENCIES += mesa3d
|
||||
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
||||
MPV_CONF_OPTS += --enable-egl-drm
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-gbm
|
||||
MPV_CONF_OPTS += --disable-egl-drm
|
||||
endif
|
||||
else
|
||||
MPV_CONF_OPTS += --disable-gbm --disable-egl-drm
|
||||
endif
|
||||
|
||||
# jack support
|
||||
|
Loading…
Reference in New Issue
Block a user