Commit b79d3ea0 authored by AlmAck's avatar AlmAck

kicad 5.1.2

parent f0b83a2c
......@@ -3,7 +3,7 @@
pkgbase=kicad-library
pkgname=('kicad-library' 'kicad-library-3d')
pkgver=5.0.2
pkgver=5.1.2
pkgrel=1
pkgdesc="Kicad component and footprint libraries"
arch=('any')
......@@ -14,9 +14,9 @@ options=('!strip')
source=("kicad-sym.$pkgver.tgz::https://github.com/KiCad/kicad-symbols/archive/$pkgver.tar.gz"
"kicad-foot.$pkgver.tgz::https://github.com/KiCad/kicad-footprints/archive/$pkgver.tar.gz"
"kicad-3d.$pkgver.tgz::https://github.com/KiCad/kicad-packages3D/archive/$pkgver.tar.gz")
md5sums=('12d1baa4b77f6aa90c0ebe013934bf11'
'caa7a7e263fb2520a95032485c3e2d13'
'9166a728ba291fd943165f14c04399b0')
md5sums=('63d41e72a4ca16ecc534f174565ca8e2'
'beb7a445253bf769b97fb46b857e9f37'
'2c9ecc770ff3e79c191f0a3935c23da8')
build() {
cd "$srcdir/kicad-symbols-$pkgver/"
......
......@@ -2,7 +2,7 @@
# Arch Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=kicad
pkgver=5.0.2
pkgver=5.1.2
pkgrel=1
pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
arch=('x86_64')
......@@ -10,7 +10,7 @@ arch=('x86_64')
url="http://kicad-pcb.org/"
license=('GPL')
#wxgtk3 is still not supported yet (FS#54839)
depends=('wxgtk' 'python2' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade')
depends=('wxgtk' 'python3' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade' 'python3-wxpython')
# the AUR git package uses python3 but this release does not support it
# can ngspice/opencascade be an optdep?
# opencascade vs community edition?
......@@ -19,12 +19,12 @@ optdepends=('kicad-library: for footprints and symbols'
'kicad-library-3d: for 3d models of components')
source=("https://launchpad.net/kicad/5.0/$pkgver/+download/kicad-$pkgver.tar.xz"
"kicad-i18n.$pkgver.tgz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
sha512sums=('54fc92238e23e3dd3287f6df797e53561e6a0e9c5cfa50066ffd92883f79af94f26db611f6fe658eeabf2199b76cd763633326c89b3f34194bd8fd9094f5fd21'
'e46009080aa164eaa2d65d875f8abfa5a28343c60beb5abc752755e94540d9450ad78b18291834919c01e6ed2723e0888d068a20f162568c6afd524e47c92204')
sha512sums=('5280be13d82d675aecab208f6d05ac8ac31a8f4d620c541748a1c519f8587b0250f189d8c5cdc0d7fa19b52780e5c68bb3e1956a3f303bb183bfb4c59062be1b'
'9c7bb6a3d33442c019669f6bfebb6bff0cf49afaaa58772a70eca3dafb8d405d29ec5338e622af9c97c1cb0a9463a548af43b42178dbe6e647cad1d2638652a0')
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 +38,12 @@ build() {
-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 \
-DBUILD_GITHUB_PLUGIN=ON
make
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment