kicad: update to 7.0.0.

also fixes the Warnings.cmake patch and adds the dependency on unixodbc
This commit is contained in:
Malte Kiessling 2023-02-14 22:11:21 +01:00 committed by classabbyamp
parent fab880a0c7
commit 846cb2488d
2 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,5 @@
--- a/CMakeModules/Warnings.cmake
+++ b/CMakeModules/Warnings.cmake
--- a/cmake/Warnings.cmake
+++ b/cmake/Warnings.cmake
@@ -38,13 +38,6 @@
set( WARN_FLAGS_CXX "-Wall" )

View File

@ -1,7 +1,7 @@
# Template file for 'kicad'
pkgname=kicad
version=6.0.7
revision=2
version=7.0.0
revision=1
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
configure_args="-DKICAD_SCRIPTING_WXPYTHON=ON
@ -10,17 +10,20 @@ configure_args="-DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_USE_OCC=$(vopt_if occt ON OFF) -DKICAD_SPICE=$(vopt_if spice ON OFF)"
hostmakedepends="pkg-config swig wxWidgets-gtk3-devel python3 tar gettext"
makedepends="wxWidgets-gtk3-devel wxPython4 python3-devel glew-devel cairo-devel
boost-devel libcurl-devel glm libgomp-devel libfreeglut-devel gtk+3-devel
boost-devel libcurl-devel glm libgomp-devel libfreeglut-devel gtk+3-devel unixodbc-devel
$(vopt_if occt occt-devel) $(vopt_if spice ngspice-devel)"
depends="wxPython4"
short_desc="Electronic schematic and PCB design software"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-3.0-or-later"
homepage="http://kicad.org"
distfiles="https://gitlab.com/kicad/code/${pkgname}/-/archive/${version}/kicad-${version}.tar.gz"
checksum=a72e88b15f360d76ea7427923a5073db5e34b5f8cfc4be389cfc24b12a71e7f9
distfiles="https://gitlab.com/kicad/code/kicad/-/archive/${version}/kicad-${version}.tar.gz"
checksum=a992234a06d18e45dbec847624e7966b3850c5f1e44474007e8fe7c6c24d3fbc
python_version=3
replaces="kicad-i18n>=0"
# one test appears to be flaky
# https://gitlab.com/kicad/code/kicad/-/blob/7.0.0/qa/unittests/eeschema/test_netlist_exporter_spice.h#L195-197
make_check=ci-skip
build_options="spice occt"
build_options_default="spice occt"