mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
083b48194f
commit
df19d7d173
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user