From: Bernd Kuhls Date: Fri, 18 Jun 2021 19:22:35 +0000 (+0200) Subject: package/mpv: add optional support for OpenGLES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df19d7d173682be136c0875b8430251aeeb17596;p=buildroot.git package/mpv: add optional support for OpenGLES mpv also supports OpenGLES: https://github.com/mpv-player/mpv/blob/master/video/out/opengl/egl_helpers.c#L98 Runtime-tested using mesa3d iris driver on a non-x11 system. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk index 30f377054f..877b84f63a 100644 --- a/package/mpv/mpv.mk +++ b/package/mpv/mpv.mk @@ -140,6 +140,9 @@ endif ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) MPV_CONF_OPTS += --enable-gl MPV_DEPENDENCIES += libgl +else ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +MPV_CONF_OPTS += --enable-gl +MPV_DEPENDENCIES += libgles else MPV_CONF_OPTS += --disable-gl endif