kicad: update to 8.0.1.

This commit is contained in:
classabbyamp 2024-03-16 16:09:57 -04:00
parent 6a72a1bddf
commit cc5155b8d5
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 27 additions and 14 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'kicad'
pkgname=kicad
version=8.0.0
version=8.0.1
revision=1
build_style=cmake
build_helper="cmake-wxWidgets-gtk3"
@ -19,18 +19,19 @@ short_desc="Electronic schematic and PCB design software"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-3.0-or-later"
homepage="http://kicad.org"
changelog="https://www.kicad.org/blog/categories/Release-Notes/"
distfiles="https://gitlab.com/kicad/code/kicad/-/archive/${version}/kicad-${version}.tar.gz
https://gitlab.com/kicad/services/kicad-doc/-/archive/${version}/kicad-doc-${version}.tar.gz
https://gitlab.com/kicad/libraries/kicad-templates/-/archive/${version}/kicad-templates-${version}.tar.gz
https://gitlab.com/kicad/libraries/kicad-symbols/-/archive/${version}/kicad-symbols-${version}.tar.gz
https://gitlab.com/kicad/libraries/kicad-footprints/-/archive/${version}/kicad-footprints-${version}.tar.gz
https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/${version}/kicad-packages3D-${version}.tar.gz"
checksum="9b8cc1ab7de9d7f913223dbb2fe1be61c254fe478921d4c1fa5f60f30bb6efa7
cf1db5bb4d1f33d239250804ca18a0a0d9d14fefe30a48c7258b919f729fdb4c
f373cd9a28c9c94146a69a4a9e7eae88f601117f89d4ed44de84f7f35615e691
6e2d76df42c46d830f54fc1a760455c8fc849592f43b6804a35863eaca0eaf22
c674e624def9a550514765d295266945379267d8196908ef6ebba92eff2fe299
d9e59a50a43b02b19e2564e73110c1ca461494986171b10f6b0a389acd8cf778"
checksum="bd67568671d0461c7c85fb1d5979df1c863228ea05d4f0db462b1c93a5a948e5
2fef2a52377e32a6d8a18a6bfd98ab3e3a75b3f23e13a741491eb9c414ee265b
5aa3b72d89552069155a538a73fd19428f7dd77ec7bf51814591dd460a88c8d7
98a11b3a33f18ea02981c95b038138e86c31cb388a8bbd30a1edcc4ad297e0f8
24e6c9d10869605b83d56ed091e5e56a9f4439de38db73c1d1d34d1cbf3d3272
77c74fa420373a97aa5dca1bed26b0bed065d1c696010bee5238dc76d06a168b"
python_version=3
replaces="kicad-i18n>=0"
patch_args="-Np1 -d ${build_wrksrc}"
@ -71,10 +72,14 @@ post_build() {
done
}
# none of these subpackages contain ELFs, but do contain a bunch of files,
# so skip stripping and elf_in_usrshare lint to speed things up significantly
kicad-doc_package() {
short_desc+=" - documentation"
license="GPL-3.0-or-later, CC-BY-3.0"
depends="kicad>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
nostrip=yes
ignore_elf_dirs="/usr/share/kicad"
pkg_install() {
cd "../${pkgname}-${version}/build" && \
DESTDIR="${PKGDESTDIR}" ninja install
@ -84,7 +89,9 @@ kicad-doc_package() {
kicad-footprints_package() {
short_desc+=" - footprint libraries"
license="CC-BY-SA-4.0"
depends="kicad>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
nostrip=yes
ignore_elf_dirs="/usr/share/kicad"
pkg_install() {
cd "../${pkgname}-${version}/build" && \
DESTDIR="${PKGDESTDIR}" ninja install
@ -94,7 +101,9 @@ kicad-footprints_package() {
kicad-packages3D_package() {
short_desc+=" - 3D model libraries"
license="CC-BY-SA-4.0"
depends="kicad>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
nostrip=yes
ignore_elf_dirs="/usr/share/kicad"
pkg_install() {
cd "../${pkgname}-${version}/build" && \
DESTDIR="${PKGDESTDIR}" ninja install
@ -104,7 +113,9 @@ kicad-packages3D_package() {
kicad-symbols_package() {
short_desc+=" - schematic symbol libraries"
license="CC-BY-SA-4.0"
depends="kicad>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
nostrip=yes
ignore_elf_dirs="/usr/share/kicad"
pkg_install() {
cd "../${pkgname}-${version}/build" && \
DESTDIR="${PKGDESTDIR}" ninja install
@ -114,7 +125,9 @@ kicad-symbols_package() {
kicad-templates_package() {
short_desc+=" - project templates"
license="CC-BY-SA-4.0"
depends="kicad>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
nostrip=yes
ignore_elf_dirs="/usr/share/kicad"
pkg_install() {
cd "../${pkgname}-${version}/build" && \
DESTDIR="${PKGDESTDIR}" ninja install
@ -123,7 +136,7 @@ kicad-templates_package() {
kicad-library_package() {
short_desc+=" - all libraries"
depends="kicad-footprints>=${version} kicad-packages3D>=${version}
kicad-symbols>=${version} kicad-templates>=${version}"
depends="kicad-footprints>=${version}_${revision} kicad-packages3D>=${version}_${revision}
kicad-symbols>=${version}_${revision} kicad-templates>=${version}_${revision}"
build_style="meta"
}