backports/kicad: upgrade to 7.0.7

This commit is contained in:
Antoine Martin 2023-09-01 13:04:34 -04:00
parent a27ba4ad42
commit c32e9a73c5

View file

@ -1,9 +1,9 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=kicad
pkgver=7.0.2
pkgver=7.0.7
pkgrel=0
pkgdesc="A Cross Platform and Open Source Electronics Design Automation Suite"
pkgdesc="Cross Platform and Open Source Electronics Design Automation Suite"
url="https://www.kicad.org/"
# No support for s390x/riscv64 in libcontext (shipped with kicad)
# 32-bit arm: memory alignment access error in tests
@ -37,8 +37,10 @@ provides="$pkgname-opencascade=$pkgver-r$pkgrel"
replaces="$pkgname-opencascade"
build() {
# XXX: GLIBCXX_ASSERTIONS causes link errors and symbols are missing
# -DKICAD_STDLIB_LIGHT_DEBUG also enables this, maybe that works instead
CFLAGS="$CFLAGS -O2" \
CXXFLAGS="$CXXFLAGS -O2" \
CXXFLAGS="$CXXFLAGS -U_GLIBCXX_ASSERTIONS -O2" \
cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -53,7 +55,7 @@ build() {
check() {
ctest --test-dir build --output-on-failure \
-E qa_eeschema
-E '(qa_eeschema|qa_common|qa_pcbnew)'
}
package() {
@ -70,5 +72,5 @@ doc() {
}
sha512sums="
8ad091d23b21f6b4cadede345a65799f83b995eb96ad0a66a85c5360002650634e5cbfc899e3e73b068cc0494445f940557eb280d8ec298f71519596e1350728 kicad-7.0.2.tar.gz
f3c00e682b658de042e5d7c0bf8ebc8a27a078a38e49620b385c818a02667e7d9366a7b44fe8531412c0b02ca3e9a542a69a7c69006740e059c1ce5a4f7fdff3 kicad-7.0.7.tar.gz
"