mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -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)
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
||||||
MPV_CONF_OPTS += --enable-gl
|
MPV_CONF_OPTS += --enable-gl
|
||||||
MPV_DEPENDENCIES += libgl
|
MPV_DEPENDENCIES += libgl
|
||||||
|
else ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
||||||
|
MPV_CONF_OPTS += --enable-gl
|
||||||
|
MPV_DEPENDENCIES += libgles
|
||||||
else
|
else
|
||||||
MPV_CONF_OPTS += --disable-gl
|
MPV_CONF_OPTS += --disable-gl
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user