From: Bernd Kuhls Date: Fri, 18 Jun 2021 19:22:36 +0000 (+0200) Subject: package/mpv: add optional support for OpenGL DRM EGL Backend X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=031df474c24f92757ac95ade572b90995ebdc6a2;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk index 877b84f63a..4292abb876 100644 --- a/package/mpv/mpv.mk +++ b/package/mpv/mpv.mk @@ -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-egl-drm +endif else -MPV_CONF_OPTS += --disable-gbm +MPV_CONF_OPTS += --disable-gbm --disable-egl-drm endif # jack support