diff options
-rw-r--r-- | app-doc/kicad-doc/Manifest | 1 | ||||
-rw-r--r-- | app-doc/kicad-doc/kicad-doc-6.0.5.ebuild | 62 | ||||
-rw-r--r-- | sci-electronics/kicad-footprints/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-footprints/kicad-footprints-6.0.5.ebuild | 36 | ||||
-rw-r--r-- | sci-electronics/kicad-meta/kicad-meta-6.0.5.ebuild | 30 | ||||
-rw-r--r-- | sci-electronics/kicad-packages3d/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild | 39 | ||||
-rw-r--r-- | sci-electronics/kicad-symbols/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-symbols/kicad-symbols-6.0.5.ebuild | 32 | ||||
-rw-r--r-- | sci-electronics/kicad-templates/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild | 28 | ||||
-rw-r--r-- | sci-electronics/kicad/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-6.0.5.ebuild | 174 |
13 files changed, 0 insertions, 407 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest index 8a4347baa072..dda813cbe429 100644 --- a/app-doc/kicad-doc/Manifest +++ b/app-doc/kicad-doc/Manifest @@ -1,3 +1,2 @@ DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a9035d47732c9a22ed3c4fee2f21c02f85fda51eee5149291b72326adc4899b31198178ee6e6ac0d494361cec6c06208 SHA512 db678d91ea5f564ca3f266829c297362cfd6cf35a5dced2ede5e7c9c38a37ca1037b264ee9314fa5c4a9d8197fcd92484ad4cae3668ea9741947d38c7ac7f910 -DIST kicad-doc-6.0.5.tar.gz 79736553 BLAKE2B cd06e5110e10da76d6640aed0ea44f68bdb14e5aca10c35b34a5b87f8a7a44faa67353216aced053123fcbe80a5159839e9a115761e599824bce31fb56c863fe SHA512 c53c488de171232de44c7e07c6078ef5da0c56d5fc377e127f8a2b7d134528c991467d40a150237425b0b5a1c082eaa1ab5f17c5a8fd62a3e37482c1de795aac DIST kicad-doc-6.0.6.tar.gz 80517799 BLAKE2B 58d1bab65637e65b8ce79f6e8e9e913a1fb0d5d22a1241c7d10f0440c12a6f8ac2b758d6852a1138fe0587bc695905c0f2b2d017e79e7e5283ecb4e49ab1d5ff SHA512 90f809ea5923b59169884e090263ccb2c0a9705ddc4ce3817e78736dbebb820a6189eeca4058919b6a53164d8f75746b49bc7667e5e0e534e0c9d3fa8af1f44a diff --git a/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild deleted file mode 100644 index 51164ea1dde5..000000000000 --- a/app-doc/kicad-doc/kicad-doc-6.0.5.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Electronic Schematic and PCB design tools manuals" -HOMEPAGE="https://docs.kicad.org/" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git" - inherit git-r3 - # x11-misc-util/macros only required on live ebuilds - LIVE_DEPEND=">=x11-misc/util-macros-1.18" -else - SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2" -SLOT="0" -# TODO: Change default back to +pdf once asciidoctor-pdf is packaged? -IUSE="+html pdf" - -LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh" -IUSE+=${LANG_USE} -REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )" -unset LANG_USE - -# TODO: need asciidoctor-pdf for pdf -# bug #697450 -BDEPEND=" - >=app-text/asciidoc-8.6.9 - >=app-text/dblatex-0.3.10 - >=app-text/po4a-0.45 - >=sys-devel/gettext-0.18 - dev-perl/Unicode-LineBreak - dev-util/source-highlight - l10n_ca? ( dev-texlive/texlive-langspanish ) - l10n_de? ( dev-texlive/texlive-langgerman ) - l10n_en? ( dev-texlive/texlive-langenglish ) - l10n_es? ( dev-texlive/texlive-langspanish ) - l10n_fr? ( dev-texlive/texlive-langfrench ) - l10n_it? ( dev-texlive/texlive-langitalian ) - l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic ) - l10n_pl? ( dev-texlive/texlive-langpolish ) - l10n_ru? ( dev-texlive/texlive-langcyrillic ) - l10n_zh? ( dev-texlive/texlive-langchinese )" - -src_configure() { - local mycmakeargs=( - # May not always work? - # https://gitlab.com/kicad/services/kicad-doc/-/issues/808 - -DADOC_TOOLCHAIN="ASCIIDOC" - # Note: need EAPI 8 usev here, not pre-EAPI 8 behaviour - -DBUILD_FORMATS="$(usev html);$(usev pdf)" - -DSINGLE_LANGUAGE="${L10N}" - -DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help - ) - cmake_src_configure -} diff --git a/sci-electronics/kicad-footprints/Manifest b/sci-electronics/kicad-footprints/Manifest index 6fdeffcb44e3..b80b7d2eb0a3 100644 --- a/sci-electronics/kicad-footprints/Manifest +++ b/sci-electronics/kicad-footprints/Manifest @@ -1,3 +1,2 @@ DIST kicad-footprints-5.1.12.tar.bz2 3382783 BLAKE2B 6f7725bebd6099d86780ed2582aacfb3abff4db6065a6a17fcd7631782a0c2e1e8a23064f80cd95c79bbaca8da52003f01fce7e398e95596e45f15b144eeef7f SHA512 e717886dc742f37b626226065953a36829b50f9bf203efe1dbeab41d4dbe3a898bd65fbde9fa059ea9374ea92905faeb0ccd19dfb1a62f2d6a445c07f90b89a9 -DIST kicad-footprints-6.0.5.tar.gz 31623487 BLAKE2B be86b66f403ec70bc976b9b5cf90b302c2f411825131172f724e5bc6adf4d3f00c48a7fa21220ca394f9796d2639dff2431c4a1ff30e934c1e4e2939804dc226 SHA512 365ff019d6146c53b099c546a147bf1ab9f8904a41c23f3a124945b565c4106c0e9e9d65712942b52051904babcce9876c2751b32122d9283e69a1e6fa42cf7d DIST kicad-footprints-6.0.6.tar.gz 31647789 BLAKE2B 3af7027987b25c4a3ee19925acaa539cea643656e1662f0b80ec76c807aca9ef7433228fc88cdd0c34b80e7bbb886abd5c11765983e9adc5b347ce01bd4b51c4 SHA512 6d93a90bfc0b246c70b336aa9265a051a33d8b490a81271fb85ab73cd19184a031f3429ce8ae9e1650ece475a30f0f283c43c5bb2d1f427b4129d4ed61480ac0 diff --git a/sci-electronics/kicad-footprints/kicad-footprints-6.0.5.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-6.0.5.ebuild deleted file mode 100644 index e1268b9afd0d..000000000000 --- a/sci-electronics/kicad-footprints/kicad-footprints-6.0.5.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Electronic Schematic and PCB design tools footprint libraries" -HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-footprints" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-footprints.git" - inherit git-r3 -else - MY_PV="${PV/_rc/-rc}" - MY_P="${PN}-${MY_PV}" - SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - fi - - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="CC-BY-SA-4.0" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND=">=sci-electronics/kicad-6.0.0" - -if [[ ${PV} == 9999 ]] ; then -# x11-misc-util/macros only required on live ebuilds - BDEPEND+=" >=x11-misc/util-macros-1.18" -fi diff --git a/sci-electronics/kicad-meta/kicad-meta-6.0.5.ebuild b/sci-electronics/kicad-meta/kicad-meta-6.0.5.ebuild deleted file mode 100644 index 9b332cea06f2..000000000000 --- a/sci-electronics/kicad-meta/kicad-meta-6.0.5.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Electronic Schematic and PCB design tools (meta package)" -HOMEPAGE="http://www.kicad.org" -SRC_URI="" - -LICENSE="metapackage" -SLOT="0" - -if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -IUSE="doc minimal" - -RDEPEND=" - >=sci-electronics/kicad-${PV} - >=sci-electronics/kicad-symbols-${PV} - >=sci-electronics/kicad-footprints-${PV} - doc? ( - >=app-doc/kicad-doc-${PV} - ) - !minimal? ( - >=sci-electronics/kicad-packages3d-${PV} - >=sci-electronics/kicad-templates-${PV} - ) -" diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest index 4a9add635f6a..bf5c8fd2b3e3 100644 --- a/sci-electronics/kicad-packages3d/Manifest +++ b/sci-electronics/kicad-packages3d/Manifest @@ -1,3 +1,2 @@ DIST kicad-packages3d-5.1.12.tar.bz2 727191578 BLAKE2B 534ba480de72ffbc8ac0968e5a7b04f2b7ccfb0ef8bb88bdad7e4e6d90536f9ae7bd101316512e1fa2e27b607fd0dd8e53d0729e48368362177b066c6bab3802 SHA512 eb4895e0c46448a74acf10e8c72dee6ea89fee9d53b93c0927d592f4ee944497b642ed575b1b5457ff0db731f654d054d539aff007a17b8d8366c03edb15b6d2 -DIST kicad-packages3d-6.0.5.tar.gz 947176948 BLAKE2B 55e056b465df03fce369f19209d83c30ff5020332e91a40dcb69765327bb23f2f952f476000821f6c0f30ee0c1b90436692935cd7c5c24ffcd38f934dd7d004c SHA512 27e93374a302afe563fea0910d16e84e5d69b692f0a0da364848efca284f0a9f6f02f607ff3f078a4b2537feb2207a61d13caabe83cb0f81caeec1b009a94e28 DIST kicad-packages3d-6.0.6.tar.gz 951710688 BLAKE2B 16176514519897167807b9c2d6659b16d38574484bc09fd871c97ea943531f8726a8173b5a3d143818397eb1086db0d6bda43add357c95e92bffac05560ec9f2 SHA512 f8231c4ce508eb379ceb397cf6e9f963411a0a5cee5d1fa9a9e929c964662d391ab12555c4d3e8bca1b9507338571f3036af7f24e6a4d093f8f2aa3ba93e9345 diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild deleted file mode 100644 index bc83a6dda4fc..000000000000 --- a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs cmake - -DESCRIPTION="Electronic Schematic and PCB design tools 3D package libraries" -HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-packages3D" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-packages3D.git" - inherit git-r3 -else - MY_PV="${PV/_rc/-rc}" - MY_P="${PN}-${MY_PV}" - # Source directory for this package always has the repository hash in the directory name - MY_HASH="ac7189ed55d5a3bf5eaa87d31fb97a3e7b5ad80e" - SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - fi - - S="${WORKDIR}/${PN/3d/3D}-${MY_PV}-${MY_HASH}" -fi - -IUSE="+occ" -LICENSE="CC-BY-SA-4.0" -SLOT="0" - -RDEPEND=">=sci-electronics/kicad-6.0.0[occ=]" - -if [[ ${PV} == 9999 ]] ; then - # x11-misc-util/macros only required on live ebuilds - BDEPEND=">=x11-misc/util-macros-1.18" -fi - -CHECKREQS_DISK_BUILD="11G" diff --git a/sci-electronics/kicad-symbols/Manifest b/sci-electronics/kicad-symbols/Manifest index eb8686f8bfb4..9a66aa3fe604 100644 --- a/sci-electronics/kicad-symbols/Manifest +++ b/sci-electronics/kicad-symbols/Manifest @@ -1,3 +1,2 @@ DIST kicad-symbols-5.1.12.tar.bz2 1815145 BLAKE2B e3a74c0e2cb24f4286cdd7fa63b62c72c39575475305680ba8e19d5b3acb5c6cbff1e17d37d169043949ad89ffb9b94f0341e1faf7d063c1cf9872d31b863e21 SHA512 32e73b8a43e54779e4b95fc13505d603c7ef70600467a1e38f2685288aa9223ca29cc44a552d8c02e153cbf3048faa59610bc92e81dbbed7a432c16db0bd05f6 -DIST kicad-symbols-6.0.5.tar.gz 4824047 BLAKE2B 7d6460758ee0145733558bd1144d3ac38b834f40e89ab0b930b7207e744f8fb795ef0601420f656d060e8b464362b35ed46446e4c41d53488fdce4d4be7935e0 SHA512 4acb339eab38a52aae53a5dc541456b26298dd94863d580efdd56508fb086137dce1372e31707ea713dbf4d5f2527482893d783238ad8b45ce82f8c6332fc0f3 DIST kicad-symbols-6.0.6.tar.gz 4845755 BLAKE2B 32bf6a03f5f06be09b571e0d5470059bc799d662aefd40554e6d9603f29862af3d75f600218f715026349216bbc1a6ea3000eff5a3a5ef8c66a8643f83872090 SHA512 edd8f2d2d34c0431bd23a8ae0433f2ce311aebecef4672ddf7b5d1bfaf71bf4cd8f98f3dcaa9e1662f5a928e204aff834b5e19cea77a31d2e3a23373f760406c diff --git a/sci-electronics/kicad-symbols/kicad-symbols-6.0.5.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-6.0.5.ebuild deleted file mode 100644 index 02943f2ff696..000000000000 --- a/sci-electronics/kicad-symbols/kicad-symbols-6.0.5.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Electronic Schematic and PCB design tools symbol libraries" -HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-symbols" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.git" - inherit git-r3 -else - SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.gz" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - fi -fi - -LICENSE="CC-BY-SA-4.0" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND=">=sci-electronics/kicad-6.0.0" - -if [[ ${PV} == 9999 ]] ; then - # x11-misc-util/macros only required on live ebuilds - BDEPEND+=" >=x11-misc/util-macros-1.18" -fi diff --git a/sci-electronics/kicad-templates/Manifest b/sci-electronics/kicad-templates/Manifest index 75bc326487e0..711ef36ef48d 100644 --- a/sci-electronics/kicad-templates/Manifest +++ b/sci-electronics/kicad-templates/Manifest @@ -1,3 +1,2 @@ DIST kicad-templates-5.1.12.tar.bz2 1552173 BLAKE2B 51791729e049aa835f15b80f783d07c099dd177783b1a78209e7c7db709a3b0a18bd22572227ab5193d4da955796bc4c78f502fdedd275f379f84fa49108a324 SHA512 4f44816fa78048c0db93ecd10ae980236bc5ef1ed5170270ac761dd5fc32d08a5c8bf733837e6dceecf736f75fa09780326af813de04cbd69345cf376815d430 -DIST kicad-templates-6.0.5.tar.gz 2248749 BLAKE2B f5bc5b87cd757566d095b216bb3f00278681ec8118fcd0e37d48d327cf4b3c25437c060cd5a375d27f3c635d9c8bda24bcba6f1ed84ff46f9d4d3edac80c4ff4 SHA512 47fa6a823f6a2b7f91e0775503443e43d940bcb3582d1e7acf00e9f55815588430d396ebbcadcb177a561a69781439bc7e834177af9a24037194c734ef388ec2 DIST kicad-templates-6.0.6.tar.gz 1057646 BLAKE2B 3bca2c6557ea8879d53a24a9a97872235c7d6289259936744a098745d0aaca9c2e397d471aa738d0007813c77e8a299c2975393bc0c0e62212be293cd210c049 SHA512 b9c4df8b7da9f5e3405a942c3afb09f5c387e311927042889211fb3c3a2a4610a1ccdc94ca2c1e1ae06e351617b15882adf5899f6dbfb392611feb5711e5be92 diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild b/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild deleted file mode 100644 index fcdb94bb2f13..000000000000 --- a/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Electronic Schematic and PCB design tools project templates" -HOMEPAGE="https://github.com/kicad/kicad-templates" -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.git" - inherit git-r3 -else - MY_PV="${PV/_rc/-rc}" - MY_P="${PN}-${MY_PV}" - SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - fi - - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="CC-BY-SA-4.0" -SLOT="0" - -RDEPEND=">=sci-electronics/kicad-6.0.0" diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest index 1d5f7831f430..011976182930 100644 --- a/sci-electronics/kicad/Manifest +++ b/sci-electronics/kicad/Manifest @@ -1,3 +1,2 @@ DIST kicad-5.1.12.tar.bz2 18581842 BLAKE2B f04369fecded6fb07376efa209ddf5fcc693e73018ed728003529cdd0e6ef4a059c28106db1acf18834d938c3fbe4b9df5b5c8e0874989d35f74cf67414e6c76 SHA512 c0e5ad5b360ef788b427755aa71eeaec1a19b7520a00bb94fafba47e291f6ba067c598004efd515287800cd41f7da399d0389121e53e9669026c62f21b0a65ea -DIST kicad-6.0.5.tar.gz 45086778 BLAKE2B 9cd10a2a59068a436cf7d940a52725018a98f27ffa785f62d86498d0dd436a54c2603806ec4c26366d72886f487965427bb77cded7afc62746a236b29aaed426 SHA512 aa0cc555b201aacfbc4321a8713f98810ffb24338281e30b1aabaf6e2e649fe78b9c7f40773bb9aa796c7f1d91064436219a6493f28fc9b710634cc9574f2545 DIST kicad-6.0.6.tar.gz 45086249 BLAKE2B fbf1f11cbf4838186e1ecb42127f7b182d3cd13b4af147211c85244d361cbf83387f5d102efdc80a63cfff36e343e6c4e07fef7f95dac4c6666844c5bc9d0ec2 SHA512 c472a6b81e3065e0499cad8467527d3531dc4d5861f50079ecb2ae6fccaf2c4d24fbeae8e9fe0cdde5ef548458fcef9615d6539426abe391a629dd539406065a diff --git a/sci-electronics/kicad/kicad-6.0.5.ebuild b/sci-electronics/kicad/kicad-6.0.5.ebuild deleted file mode 100644 index 8d902a662201..000000000000 --- a/sci-electronics/kicad/kicad-6.0.5.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -WX_GTK_VER="3.0-gtk3" - -inherit check-reqs cmake optfeature python-single-r1 toolchain-funcs wxwidgets xdg-utils - -DESCRIPTION="Electronic Schematic and PCB design tools" -HOMEPAGE="https://www.kicad.org" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://gitlab.com/kicad/code/kicad.git" - inherit git-r3 -else - MY_PV="${PV/_rc/-rc}" - MY_P="${PN}-${MY_PV}" - SRC_URI="https://gitlab.com/kicad/code/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${MY_PV}" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - fi -fi - -# BSD for bundled pybind -LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" -SLOT="0" -IUSE="doc examples +ngspice nls openmp +occ +pcm" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Contains bundled pybind but it's patched for wx -# See https://gitlab.com/kicad/code/kicad/-/commit/74e4370a9b146b21883d6a2d1df46c7a10bd0424 -# Depend on opencascade:0 to get unslotted variant (so we know path to it), bug #833301 -COMMON_DEPEND=" - !sci-electronics/kicad-i18n - >=dev-libs/boost-1.61:=[context,nls] - media-libs/freeglut - media-libs/glew:0= - >=media-libs/glm-0.9.9.1 - media-libs/mesa[X(+)] - >=x11-libs/cairo-1.8.8:= - >=x11-libs/pixman-0.30 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] - $(python_gen_cond_dep ' - >=dev-libs/boost-1.61:=[context,nls,python,${PYTHON_USEDEP}] - dev-python/wxpython:4.0[${PYTHON_USEDEP}] - ') - ${PYTHON_DEPS} - ngspice? ( - >sci-electronics/ngspice-27[shared] - ) - nls? ( - sys-devel/gettext - ) - occ? ( - >=sci-libs/opencascade-7.3.0:0= - ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - sci-electronics/electronics-menu -" -BDEPEND=">=dev-lang/swig-3.0 - doc? ( app-doc/doxygen )" - -if [[ ${PV} == 9999 ]] ; then - # x11-misc-util/macros only required on live ebuilds - BDEPEND+=" >=x11-misc/util-macros-1.18" -fi - -CHECKREQS_DISK_BUILD="900M" - -PATCHES=( - "${FILESDIR}/${PN}-scripts-install-fix.patch" -) - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp - - python-single-r1_pkg_setup - setup-wxwidgets - check-reqs_pkg_setup -} - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - else - default_src_unpack - fi -} - -src_configure() { - xdg_environment_reset - - local mycmakeargs=( - -DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}" - - -DKICAD_SCRIPTING_WXPYTHON=ON - - # Merged from separate -i18n package, bug #830274 - -DKICAD_BUILD_I18N="$(usex nls)" - -DKICAD_I18N_UNIX_STRICT_PATH="$(usex nls)" - - -DPYTHON_DEST="$(python_get_sitedir)" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - - -DKICAD_SPICE="$(usex ngspice)" - -DKICAD_PCM="$(usex pcm)" - - -DKICAD_USE_OCC="$(usex occ)" - -DKICAD_INSTALL_DEMOS="$(usex examples)" - -DCMAKE_SKIP_RPATH="ON" - ) - - use occ && mycmakeargs+=( - -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade - -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_src_compile doxygen-docs - fi -} - -src_test() { - # Test cannot find library in Portage's sandbox. Let's create a link so test can run. - ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die - - # LD_LIBRARY_PATH is there to help it pick up the just-built libraries - LD_LIBRARY_PATH="${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" cmake_src_test -} - -src_install() { - cmake_src_install - python_optimize - - if use doc ; then - dodoc uncrustify.cfg - cd Documentation || die - dodoc -r *.txt kicad_doxygen_logo.png notes_about_pcbnew_new_file_format.odt doxygen/. - fi -} - -pkg_postinst() { - optfeature "Component symbols library" sci-electronics/kicad-symbols - optfeature "Component footprints library" sci-electronics/kicad-footprints - optfeature "3D models of components " sci-electronics/kicad-packages3d - optfeature "Project templates" sci-electronics/kicad-templates - optfeature "Different languages for GUI" sci-electronics/kicad-i18n - optfeature "Extended documentation" app-doc/kicad-doc - optfeature "Creating 3D models of components" media-gfx/wings - - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update -} |