sci-electronics/kicad: Fix build failure with GLX enabled wxGTK

Closes: https://bugs.gentoo.org/911120
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Closes: https://github.com/gentoo/gentoo/pull/32055
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Zoltan Puskas
2023-08-09 06:11:10 +01:00
committed by Sam James
parent 690c2ea668
commit e3371a44d2
4 changed files with 16 additions and 4 deletions
@@ -101,7 +101,10 @@ src_configure() {
-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
-DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_USE_EGL=ON
# wxWidgets does not support runtime selection of backends (GLX vs EGL),
# if enabled it can break KiCad depending on what wxGTK was compiled
# with, see bug #911120
-DKICAD_USE_EGL=OFF
-DKICAD_BUILD_I18N="$(usex nls)"
-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"
@@ -101,7 +101,10 @@ src_configure() {
-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
-DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_USE_EGL=ON
# wxWidgets does not support runtime selection of backends (GLX vs EGL),
# if enabled it can break KiCad depending on what wxGTK was compiled
# with, see bug #911120
-DKICAD_USE_EGL=OFF
-DKICAD_BUILD_I18N="$(usex nls)"
-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"
@@ -99,7 +99,10 @@ src_configure() {
-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
-DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_USE_EGL=ON
# wxWidgets does not support runtime selection of backends (GLX vs EGL),
# if enabled it can break KiCad depending on what wxGTK was compiled
# with, see bug #911120
-DKICAD_USE_EGL=OFF
-DKICAD_BUILD_I18N="$(usex nls)"
-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"
+4 -1
View File
@@ -99,7 +99,10 @@ src_configure() {
-DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
-DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_USE_EGL=ON
# wxWidgets does not support runtime selection of backends (GLX vs EGL),
# if enabled it can break KiCad depending on what wxGTK was compiled
# with, see bug #911120
-DKICAD_USE_EGL=OFF
-DKICAD_BUILD_I18N="$(usex nls)"
-DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)"