[arch-commits] Commit in kicad/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Mar 1 19:29:39 UTC 2016
Date: Tuesday, March 1, 2016 @ 20:29:39
Author: kkeen
Revision: 164009
upgpkg: kicad 4.0.2-2 enable scripting
Modified:
kicad/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-01 19:27:27 UTC (rev 164008)
+++ PKGBUILD 2016-03-01 19:29:39 UTC (rev 164009)
@@ -4,8 +4,7 @@
pkgname=kicad
pkgver=4.0.2
-_i18nv=4.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
arch=('i686' 'x86_64')
#url="http://iut-tice.ujf-grenoble.fr/kicad/"
@@ -12,15 +11,16 @@
url="http://kicad-pcb.org/"
license=('GPL')
depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew')
-makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext')
+makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext' 'wxpython' 'swig')
optdepends=('kicad-library: for footprints and symbols'
- 'kicad-library-3d: for 3d models of components')
+ 'kicad-library-3d: for 3d models of components'
+ 'wxpython: for python scripting plugin')
# python optdep for plugins?
install=kicad.install
source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz"
- "kicad-i18n.$_i18nv.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$_i18nv.tar.gz")
+ "kicad-i18n.$pkgver.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
md5sums=('6c40f3a511f47c1145ccc75b9c3729f7'
- '42db67dac237675af91e705de4913d04')
+ '14b17243b11bccc0483efb3743bd0f7b')
build() {
cd "$srcdir/kicad-$pkgver"
@@ -33,10 +33,13 @@
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKICAD_SKIP_BOOST=ON \
+ -DKICAD_SCRIPTING=ON \
+ -DKICAD_SCRIPTING_MODULES=ON \
+ -DKICAD_SCRIPTING_WXPYTHON=ON \
-DBUILD_GITHUB_PLUGIN=ON
make
- cd "$srcdir/kicad-i18n-$_i18nv"
+ cd "$srcdir/kicad-i18n-$pkgver"
mkdir -p build/Release
cd build/Release
cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
@@ -51,6 +54,6 @@
# copy updated linux icons
#cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
- cd "$srcdir/kicad-i18n-$_i18nv/build/Release"
+ cd "$srcdir/kicad-i18n-$pkgver/build/Release"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list