author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-10 10:15:10 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-10 10:15:10 UTC |
parent | 4bbd847d2bcb5c385b3874c156846a869537db36 |
.SRCINFO | +7 | -6 |
PKGBUILD | +3 | -3 |
PKGBUILD.old | +87 | -0 |
diff --git a/.SRCINFO b/.SRCINFO index 2cd1368..ff13f39 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,10 @@ pkgbase = kicad pkgdesc = Electronic schematic and printed circuit board (PCB) design tools - pkgver = 8.0.2 - pkgrel = 2 + pkgver = 8.0.8 + pkgrel = 1 url = http://kicad.org/ arch = x86_64 + arch = armv7h license = GPL-3.0-or-later makedepends = git makedepends = cmake @@ -23,11 +24,11 @@ pkgbase = kicad depends = libgit2 optdepends = kicad-library: for footprints, symbols and templates optdepends = kicad-library-3d: for 3D models of components - source = kicad::git+https://gitlab.com/kicad/code/kicad.git#tag=8.0.2 + source = kicad::git+https://gitlab.com/kicad/code/kicad.git#tag=8.0.8 source = fix-archive-permissions.patch source = fix-version-string.patch - sha512sums = 22d45247a71ae338cc5ce3986f609c050bb795853fb35581efb363f76fb983e78d26021cd002d395e822940e8cc42b0a7143b9a6ae77fb5a92e4e6c4e70db93b - sha512sums = e36912e4144c6debe33f1711ca7a2da020389a6e376282c70f534ce9e685d0b35b58d88b810327d8baeb3466e87eda246ebf181c18e134e80bc73b91dae4bf02 - sha512sums = 17100967610c85ce2e8a860dcf703a87dc0c20f52d3f056cdb5d16323160e8594698bd51e095aea63c00a75ce8b121be681e93cec1bab72a8d1d4eb8065a91f5 + sha256sums = 9549c1600b5f2eb7ca764eeacc37b21077b3f679e4f7cda518f3c614a673134d + sha256sums = 62c299dd975d9ea684fb7a993cb572d17277d9f718a18b552667b461c2a219e8 + sha256sums = e512fac78720eb31d5a89f9ce4447f33a0a733388e9a8f55db81ca38fb030e07 pkgname = kicad diff --git a/PKGBUILD b/PKGBUILD index 1423936..6888d09 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ # Contributor: Alexander Lutsai <s.lyra@ya.ru> pkgname=kicad -pkgver=8.0.3 +pkgver=8.0.8 pkgrel=1 pkgdesc='Electronic schematic and printed circuit board (PCB) design tools' arch=('x86_64' 'armv7h') @@ -55,7 +55,7 @@ prepare() { patch -p1 -i "$srcdir/fix-archive-permissions.patch" patch -p1 -i "$srcdir/fix-version-string.patch" - git cherry-pick -n 1cbf6a1872c71d3bb8c00e02783cbf84b74714b3 # fix build with libgit2 1.8 +# git cherry-pick -n 1cbf6a1872c71d3bb8c00e02783cbf84b74714b3 # fix build with libgit2 1.8 } build() { @@ -82,6 +82,6 @@ package() { } # vim:set ts=2 sw=2 et: -sha256sums=('39a556341e9986e238d7c8957cfcee128dd9282b65a5f6c30a37f32363bde47b' +sha256sums=('9549c1600b5f2eb7ca764eeacc37b21077b3f679e4f7cda518f3c614a673134d' '62c299dd975d9ea684fb7a993cb572d17277d9f718a18b552667b461c2a219e8' 'e512fac78720eb31d5a89f9ce4447f33a0a733388e9a8f55db81ca38fb030e07') diff --git a/PKGBUILD.old b/PKGBUILD.old new file mode 100644 index 0000000..342a823 --- /dev/null +++ b/PKGBUILD.old @@ -0,0 +1,87 @@ +# Maintainer: George Rawlinson <grawlinson@archlinux.org> +# Maintainer: Filipe Laíns <lains@archlinux.org> +# Contributor: Marq Schneider <queueRAM@gmail.com> +# Contributor: Nick Østergaard +# Contributor: Rachel Mant <aur@dragonmux.network> +# Contributor: Kyle Keen <keenerd@gmail.com> +# Contributor: Alexander Lutsai <s.lyra@ya.ru> + +pkgname=kicad +pkgver=8.0.7 +pkgrel=1 +pkgdesc='Electronic schematic and printed circuit board (PCB) design tools' +arch=('x86_64' 'armv7h') +url='http://kicad.org/' +license=('GPL-3.0-or-later') +depends=( + 'curl' + 'glew' + 'glm' + 'ngspice' + 'opencascade' + 'python' + 'python-wxpython' + 'wxwidgets-gtk3' + 'unixodbc' + 'libgit2' +) +makedepends=( + 'git' + 'cmake' + 'ninja' + 'mesa' + 'boost' + 'swig' +) +optdepends=( + 'kicad-library: for footprints, symbols and templates' + 'kicad-library-3d: for 3D models of components' +) +_commit='ef34436d7d4bb488a9559d7fae32dc956d37c669' +source=( + "$pkgname::git+https://gitlab.com/kicad/code/kicad.git#tag=$pkgver" + 'fix-archive-permissions.patch' + 'fix-version-string.patch' +) + +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd "$pkgname" + + patch -p1 -i "$srcdir/fix-archive-permissions.patch" + patch -p1 -i "$srcdir/fix-version-string.patch" +# git cherry-pick -n 1cbf6a1872c71d3bb8c00e02783cbf84b74714b3 # fix build with libgit2 1.8 +} + +build() { + cmake \ + -B build \ + -S "$pkgname" \ + -G Ninja \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D KICAD_USE_EGL=ON \ + -D KICAD_USE_BUNDLED_GLEW=OFF \ + -D KICAD_BUILD_I18N=ON \ + -D KICAD_I18N_UNIX_STRICT_PATH=ON \ + -D KICAD_BUILD_QA_TESTS=OFF \ + -W no-dev + + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + strip "$STRIP_SHARED" "${pkgdir}"/usr/lib/python*/site-packages/_pcbnew.so +} + +# vim:set ts=2 sw=2 et: +sha256sums=('bca5b8987abc85e6d021cafb354be8e5a044b63654a93be010e6c56526d23a62' + '62c299dd975d9ea684fb7a993cb572d17277d9f718a18b552667b461c2a219e8' + 'e512fac78720eb31d5a89f9ce4447f33a0a733388e9a8f55db81ca38fb030e07')