I needed to use wxgtk3-dev from AUR instead of WXGTK3 and the fowllowing patch to build.
diff --git a/PKGBUILD b/PKGBUILD
index 0b23d76..36f51ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,6 +31,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DKICAD_USE_OCE=OFF \
-DKICAD_USE_OCC=ON \
+ -DKICAD_USE_EGL=ON \
-DBUILD_GITHUB_PLUGIN=ON \
-DKICAD_SCRIPTING=ON \
-DKICAD_SCRIPTING_MODULES=ON \
Pinned Comments