[arch-commits] Commit in kicad/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Apr 24 02:33:58 UTC 2019


    Date: Wednesday, April 24, 2019 @ 02:33:57
  Author: kkeen
Revision: 453262

upgpkg: kicad 5.1.1-2 python3

Modified:
  kicad/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 00:29:29 UTC (rev 453261)
+++ PKGBUILD	2019-04-24 02:33:57 UTC (rev 453262)
@@ -1,17 +1,16 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 # Contributor: Marq Schneider <queueRAM at gmail.com>
+# Contributor: Nick Østergaard
 
 pkgname=kicad
 pkgver=5.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
 arch=('x86_64')
 #url="http://iut-tice.ujf-grenoble.fr/kicad/"
 url="http://kicad-pcb.org/"
 license=('GPL')
-#wxgtk3 is still not supported yet (FS#54839)
-depends=('wxgtk2' 'python2' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade')
-# the AUR git package uses python3 but this release does not support it
+depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade' 'python-wxpython')
 # can ngspice/opencascade be an optdep?
 # opencascade vs community edition?
 makedepends=('cmake' 'zlib' 'mesa' 'boost' 'swig')
@@ -24,7 +23,7 @@
 
 prepare() {
   cd "$srcdir/kicad-$pkgver"
-  find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+  #find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
 }
 
 build() {
@@ -38,9 +37,12 @@
               -DKICAD_USE_OCE=OFF           \
               -DKICAD_USE_OCC=ON            \
               -DKICAD_SCRIPTING=ON          \
+              -DKICAD_SCRIPTING_PYTHON3=ON  \
               -DKICAD_SCRIPTING_MODULES=ON  \
-              -DKICAD_SCRIPTING_WXPYTHON=OFF \
+              -DKICAD_SCRIPTING_WXPYTHON=ON \
               -DKICAD_SCRIPTING_ACTION_MENU=ON \
+              -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \
+              -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
               -DBUILD_GITHUB_PLUGIN=ON
   make
 



More information about the arch-commits mailing list