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

Kyle Keen kkeen at archlinux.org
Fri Sep 21 12:26:02 UTC 2018


    Date: Friday, September 21, 2018 @ 12:26:02
  Author: kkeen
Revision: 383823

upgpkg: kicad 5.0.0-2  opencascade, FS#59787

Modified:
  kicad/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-21 10:54:56 UTC (rev 383822)
+++ PKGBUILD	2018-09-21 12:26:02 UTC (rev 383823)
@@ -3,7 +3,7 @@
 
 pkgname=kicad
 pkgver=5.0.0
-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/"
@@ -10,18 +10,17 @@
 url="http://kicad-pcb.org/"
 license=('GPL')
 #wxgtk3 is still not supported yet (FS#54839)
-depends=('wxgtk2' 'python2' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice')
+depends=('wxgtk2' 'python2' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade')
 # the AUR git package uses python3 but this release does not support it
-# can ngspice be an optdep?
-# aur deps?  oce
+# can ngspice/opencascade be an optdep?
+# opencascade vs community edition?
 makedepends=('cmake' 'zlib' 'mesa' 'boost' 'swig')
 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.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz"
-        "kicad-i18n.$pkgver-rc3.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver-rc3.tar.gz")
+        "kicad-i18n.$pkgver.tgz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
 sha512sums=('79d4d34e8eaa5b6e4c7baac39a76f86af89adbaf3f9181b8cd846ed3a8db1b4c6dd7a36efefda3394d33ef828917909ad3bd8bb22435af9c6f671efbff125b42'
-            '8183545d636f64ee2cd6780acb7fec6491c580e6abea8acc1967881644acc79472569b2c21f494d1a6bde5d98b6736655baebb103d646319725edad9c82626f7')
+            'efc0729e1da151f490e2568d756b44b3153a65ca658076ac7346736d1703eb73828687f8ce944bdf23c251ac29bde705e403c25bd32097e2a6768e65a4600616')
 
 prepare() {
   cd "$srcdir/kicad-$pkgver"
@@ -37,6 +36,7 @@
               -DCMAKE_INSTALL_PREFIX=/usr   \
               -DCMAKE_INSTALL_LIBDIR=lib    \
               -DKICAD_USE_OCE=OFF           \
+              -DKICAD_USE_OCC=ON            \
               -DKICAD_SCRIPTING=ON          \
               -DKICAD_SCRIPTING_MODULES=ON  \
               -DKICAD_SCRIPTING_WXPYTHON=OFF \
@@ -44,7 +44,7 @@
               -DBUILD_GITHUB_PLUGIN=ON
   make
 
-  cd "$srcdir/kicad-i18n-$pkgver-rc3"
+  cd "$srcdir/kicad-i18n-$pkgver"
   mkdir -p build/Release
   cd build/Release
   cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
@@ -59,6 +59,6 @@
   # copy updated linux icons
   #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
 
-  cd "$srcdir/kicad-i18n-$pkgver-rc3/build/Release"
+  cd "$srcdir/kicad-i18n-$pkgver/build/Release"
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list