tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
multimedia/mpv Disable EGL only when opengl disabled
Hi
I notice that multimedia/mpv will always disable EGL. This patch only
disables EGL when opengl option disabled.
It also disables opengl by default to avoid unusable EGL.
Thanks
Mike Qin
? multimedia/mpv/work
Index: multimedia/mpv/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpv/Makefile,v
retrieving revision 1.124
diff -u -r1.124 Makefile
--- multimedia/mpv/Makefile 21 Apr 2021 11:42:21 -0000 1.124
+++ multimedia/mpv/Makefile 25 Apr 2021 02:09:40 -0000
@@ -21,7 +21,6 @@
WAF_REPLACE_EXECUTABLE= yes
WAF_CONFIGURE_ARGS+= --bindir=${PREFIX}/bin
WAF_CONFIGURE_ARGS+= --enable-dvdnav
-WAF_CONFIGURE_ARGS+= --disable-egl-x11
WAF_CONFIGURE_ARGS+= --enable-libmpv-shared
PYTHON_FOR_BUILD_ONLY= yes
Index: multimedia/mpv/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpv/options.mk,v
retrieving revision 1.27
diff -u -r1.27 options.mk
--- multimedia/mpv/options.mk 19 Dec 2020 12:17:29 -0000 1.27
+++ multimedia/mpv/options.mk 25 Apr 2021 02:09:40 -0000
@@ -21,7 +21,7 @@
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS+= opengl libdrm x11
+PKG_SUGGESTED_OPTIONS+= libdrm x11
.endif
.include "../../multimedia/libva/available.mk"
@@ -170,6 +170,8 @@
SUBST_MESSAGE.vc= Fixing path to VideoCore libraries.
SUBST_FILES.vc= waftools/checks/custom.py
SUBST_SED.vc+= -e 's;opt/vc;${PREFIX};g'
+.else
+WAF_CONFIGURE_ARGS+= --disable-egl-x11
.endif
###
Home |
Main Index |
Thread Index |
Old Index