From df19d7d173682be136c0875b8430251aeeb17596 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 18 Jun 2021 21:22:35 +0200 Subject: [PATCH] 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 --- package/mpv/mpv.mk | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2