From 16c7891d8f7f0ab8bb0381d969be23aed5a2e06b Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Sat, 16 Apr 2022 18:51:20 +0200 Subject: [PATCH] x11-toolkits/wxgtk31: add option to disable the wxGLCanvas EGL backend This option is required as nvidia-driver-340 does not support EGL and some downstream packages like kicad refuse to be built without EGL support unless wxgtk31 is built without EGL support. --- x11-toolkits/wxgtk31/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile index d80d4b0e7f9e..5b25c11942a4 100644 --- a/x11-toolkits/wxgtk31/Makefile +++ b/x11-toolkits/wxgtk31/Makefile @@ -20,8 +20,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ - libtiff.so:graphics/tiff \ - libwayland-egl.so:graphics/wayland + libtiff.so:graphics/tiff USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig xorg @@ -57,13 +56,17 @@ CONFIGURE_ARGS= --with-libpng=sys \ CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no -OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT -OPTIONS_DEFAULT= GSTREAMER MSPACK WEBKIT +OPTIONS_DEFINE= GLCANVASEGL GSTREAMER MSPACK NLS WEBKIT +OPTIONS_DEFAULT= GLCANVASEGL GSTREAMER MSPACK WEBKIT MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext +GLCANVASEGL_DESC= Support the wxGLCanvas EGL backend +GLCANVASEGL_CONFIGURE_ENABLE= glcanvasegl +GLCANVASEGL_LIB_DEPENDS= libwayland-egl.so:graphics/wayland + GSTREAMER_CONFIGURE_ENABLE= mediactrl GSTREAMER_USE= GSTREAMER1=bad -- 2.35.1