[arch-commits] Commit in kicad/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Apr 24 02:35:55 UTC 2019


    Date: Wednesday, April 24, 2019 @ 02:35:53
  Author: kkeen
Revision: 453263

archrelease: copy trunk to community-x86_64

Added:
  kicad/repos/community-x86_64/PKGBUILD
    (from rev 453262, kicad/trunk/PKGBUILD)
Deleted:
  kicad/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 02:33:57 UTC (rev 453262)
+++ PKGBUILD	2019-04-24 02:35:53 UTC (rev 453263)
@@ -1,64 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Marq Schneider <queueRAM at gmail.com>
-
-pkgname=kicad
-pkgver=5.1.1
-pkgrel=1
-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
-# 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.tgz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
-sha512sums=('7684dab5f237d77a683be56c167f63be1fd737f72e543ba163718eec28dfe47e74186e8bca62b027935567212c1b7a35fb788a73695059ef0b4be652ece052ad'
-            'd8e621aa611c2054794761bca25d45abd312fb71d3a5c3f699849d59558f4cdca9e7bbdab6903285da3c5e925242232b0855603ecb01df3d85e86577d2d10e20')
-
-prepare() {
-  cd "$srcdir/kicad-$pkgver"
-  find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
-  cd "$srcdir/kicad-$pkgver"
-
-  mkdir -p build/Release
-  cd build/Release
-  cmake ../.. -DCMAKE_BUILD_TYPE=Release    \
-              -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 \
-              -DKICAD_SCRIPTING_ACTION_MENU=ON \
-              -DBUILD_GITHUB_PLUGIN=ON
-  make
-
-  cd "$srcdir/kicad-i18n-$pkgver"
-  mkdir -p build/Release
-  cd build/Release
-  cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/kicad-$pkgver/build/Release"
-
-  make DESTDIR="$pkgdir" install
-
-  # copy updated linux icons
-  #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
-
-  cd "$srcdir/kicad-i18n-$pkgver/build/Release"
-  make DESTDIR="$pkgdir" install
-}

Copied: kicad/repos/community-x86_64/PKGBUILD (from rev 453262, kicad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-24 02:35:53 UTC (rev 453263)
@@ -0,0 +1,66 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+# Contributor: Nick Østergaard
+
+pkgname=kicad
+pkgver=5.1.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')
+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')
+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=('7684dab5f237d77a683be56c167f63be1fd737f72e543ba163718eec28dfe47e74186e8bca62b027935567212c1b7a35fb788a73695059ef0b4be652ece052ad'
+            'd8e621aa611c2054794761bca25d45abd312fb71d3a5c3f699849d59558f4cdca9e7bbdab6903285da3c5e925242232b0855603ecb01df3d85e86577d2d10e20')
+
+prepare() {
+  cd "$srcdir/kicad-$pkgver"
+  #find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+  cd "$srcdir/kicad-$pkgver"
+
+  mkdir -p build/Release
+  cd build/Release
+  cmake ../.. -DCMAKE_BUILD_TYPE=Release    \
+              -DCMAKE_INSTALL_PREFIX=/usr   \
+              -DCMAKE_INSTALL_LIBDIR=lib    \
+              -DKICAD_USE_OCE=OFF           \
+              -DKICAD_USE_OCC=ON            \
+              -DKICAD_SCRIPTING=ON          \
+              -DKICAD_SCRIPTING_PYTHON3=ON  \
+              -DKICAD_SCRIPTING_MODULES=ON  \
+              -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
+
+  cd "$srcdir/kicad-i18n-$pkgver"
+  mkdir -p build/Release
+  cd build/Release
+  cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/kicad-$pkgver/build/Release"
+
+  make DESTDIR="$pkgdir" install
+
+  # copy updated linux icons
+  #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
+
+  cd "$srcdir/kicad-i18n-$pkgver/build/Release"
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list