mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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:
committed by
Thomas Petazzoni
parent
df19d7d173
commit
031df474c2
@@ -50,8 +50,13 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||||
MPV_CONF_OPTS += --enable-gbm
|
MPV_CONF_OPTS += --enable-gbm
|
||||||
MPV_DEPENDENCIES += mesa3d
|
MPV_DEPENDENCIES += mesa3d
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
||||||
|
MPV_CONF_OPTS += --enable-egl-drm
|
||||||
else
|
else
|
||||||
MPV_CONF_OPTS += --disable-gbm
|
MPV_CONF_OPTS += --disable-egl-drm
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
MPV_CONF_OPTS += --disable-gbm --disable-egl-drm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# jack support
|
# jack support
|
||||||
|
|||||||
Reference in New Issue
Block a user