[Buildroot] [PATCH 1/1] package/mpv: enable OpenGL context support also with libegl

Bernd Kuhls bernd.kuhls at t-online.de
Thu Aug 19 18:13:57 UTC 2021


mpv considers libegl as a valid dependency for OpenGL context support:
https://github.com/mpv-player/mpv/blob/master/wscript#L726

Fixes:
http://autobuild.buildroot.net/results/fcf/fcf8cf3c4961bf0be9d7ebeec86065730b0f9210/

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/mpv/mpv.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index d4d4d4811d..19ae783edf 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -148,6 +148,9 @@ MPV_DEPENDENCIES += libgl
 else ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
 MPV_CONF_OPTS += --enable-gl
 MPV_DEPENDENCIES += libgles
+else ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
+MPV_CONF_OPTS += --enable-gl
+MPV_DEPENDENCIES += libegl
 else
 MPV_CONF_OPTS += --disable-gl
 endif
-- 
2.30.2



More information about the buildroot mailing list