summaryrefslogtreecommitdiff
path: root/sci-electronics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/Manifest.gzbin8707 -> 8719 bytes
-rw-r--r--sci-electronics/kicad-footprints/Manifest2
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-8.0.6.ebuild28
-rw-r--r--sci-electronics/kicad-meta/Manifest3
-rw-r--r--sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild27
-rw-r--r--sci-electronics/kicad-meta/metadata.xml2
-rw-r--r--sci-electronics/kicad-packages3d/Manifest2
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-8.0.6.ebuild31
-rw-r--r--sci-electronics/kicad-symbols/Manifest2
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-8.0.6.ebuild28
-rw-r--r--sci-electronics/kicad-templates/Manifest2
-rw-r--r--sci-electronics/kicad-templates/kicad-templates-8.0.6.ebuild22
-rw-r--r--sci-electronics/kicad/Manifest2
-rw-r--r--sci-electronics/kicad/kicad-8.0.6.ebuild184
14 files changed, 333 insertions, 2 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index 67294ce49496..e01c033a2b35 100644
--- a/sci-electronics/Manifest.gz
+++ b/sci-electronics/Manifest.gz
Binary files differ
diff --git a/sci-electronics/kicad-footprints/Manifest b/sci-electronics/kicad-footprints/Manifest
index bbe1c754a152..1dd5e50378fd 100644
--- a/sci-electronics/kicad-footprints/Manifest
+++ b/sci-electronics/kicad-footprints/Manifest
@@ -3,10 +3,12 @@ DIST kicad-footprints-7.0.11.tar.bz2 22722611 BLAKE2B f081eee0d8d2f9c691d7326dbc
DIST kicad-footprints-8.0.3.tar.bz2 26585619 BLAKE2B ee9383770b4ebcab5cbf7576c71d71694c05760525267167923c3f8dd4d075c87d13402190455f9e7134815ea36ae8ca0fd84b51317f31120e816950cf42db15 SHA512 f61e56a4519708da19f9850f3102a0efbf73ebf276f821c1fc9f57d88f01ac7454002a32b8da7912bdfa2a4c5264254fad5d579329ea5eaf147ef2aade23ecc6
DIST kicad-footprints-8.0.4.tar.bz2 26603867 BLAKE2B bf4e653cf25dd856985796f3f408648e98858a13afc6ed86a670d796abedba6fd291501f46e904fd1709f5553b678472e524110626126b3a0190b5e74f6b73cb SHA512 61191c33b07ffde61768befa9f2eaa32084a431cf1d5ac240e7e2c6c36b1129fae8e69f99dd3dd314c0f75c6ea7617eda2db5b564783079cf3e4f8a3ba781276
DIST kicad-footprints-8.0.5.tar.bz2 26657571 BLAKE2B 56fd89195b1260bab740214e69419aaa8633fba6f2668fd00b888a19a22714394b34f198448776a3a71ef7278c7a338085cef09cd1740f0a384232b59693c14a SHA512 e468e8683f5996a602a8c6b0ce9e948b65b1be203fb530df341ec4deda01419e8ce2de9f0928fe9be7918b1c754300cee957dcd72185feeafc71e5bd977d196f
+DIST kicad-footprints-8.0.6.tar.bz2 26271483 BLAKE2B 6b44eac6b69e6760ef08666f9747a18499dd4f7603ceab6c1f68982da26c2a5c6a54f1b9c8259ec98225dff72e62e6bef3f52b55e9fe746302f3d069f78bbe30 SHA512 7180b85709b791efd43535a6615e86600c582d227983b7cb9d59a05df97f08f8569de7c8e60ed68fc8f92091bb7b441bbe48474e66412376f588aea9216319a0
EBUILD kicad-footprints-7.0.10.ebuild 716 BLAKE2B 2157d1723135e88f3682ebb8df01f9b062c395e265dc04fe3d5fde6a7e5522a62bca63576980e2afc0afff38f706966ed4c59f8d6b5e9684b46615d813c00909 SHA512 c0f081bbee993393d9ce3877b1d1b1d00371278fc9f1390b19a7e3a2bda45e7616ee801b8b583ccbc947466ba6fe5dffe9a5b287f18cdfdf9485018660996a14
EBUILD kicad-footprints-7.0.11.ebuild 717 BLAKE2B 7920bbe3e96b81475a4a1e69d9675862ea5f5919467f55be0864d8cf6df648bfaf224d9acf7ae6dcce109b9f7689b91f60bb9437411b740b7f0dd8561f504fb5 SHA512 9a0a3145632dbddcdeb13dc611c6c1d68df64e590e38720db1a0966c9f0d87257d92d84063fd318ec58453a48f89ecf1db947bd80930b8a4357259f4f19548f6
EBUILD kicad-footprints-8.0.3.ebuild 716 BLAKE2B 3f6dbc4011e2f53e29eb41deecc705487ce9e632f85755c6ffd88480dc265d6ec90540ba76fc9d37849d4d7e04d7e08cd90220d60d993a74ed461ccc2bf8645a SHA512 bb7cda06ef68e79bb68542c715d404d49f89c3ef50d2617c6a0b502b2f7452274a84fb4deb2e2e660ec800b93923aae1bcd2591e4eaf25c737131ed5ae2b1c60
EBUILD kicad-footprints-8.0.4.ebuild 717 BLAKE2B cb40b244d8f158316a7a9a19d869a2f9e6099bfa9ab19e31849782c4e559671ef1d8ccb193d1cda741741833d671e1d8c33868b9d7345c45d88aa6ac6e3e5ca4 SHA512 c8a4a58a97177edf1ee9c110d1c30c03414188be6e62d0abab43a3b263ef538b2f7723a12208470c91c2664936d95ac127cce3a34561b4cd4beb69ca8a578614
EBUILD kicad-footprints-8.0.5.ebuild 717 BLAKE2B cb40b244d8f158316a7a9a19d869a2f9e6099bfa9ab19e31849782c4e559671ef1d8ccb193d1cda741741833d671e1d8c33868b9d7345c45d88aa6ac6e3e5ca4 SHA512 c8a4a58a97177edf1ee9c110d1c30c03414188be6e62d0abab43a3b263ef538b2f7723a12208470c91c2664936d95ac127cce3a34561b4cd4beb69ca8a578614
+EBUILD kicad-footprints-8.0.6.ebuild 717 BLAKE2B cb40b244d8f158316a7a9a19d869a2f9e6099bfa9ab19e31849782c4e559671ef1d8ccb193d1cda741741833d671e1d8c33868b9d7345c45d88aa6ac6e3e5ca4 SHA512 c8a4a58a97177edf1ee9c110d1c30c03414188be6e62d0abab43a3b263ef538b2f7723a12208470c91c2664936d95ac127cce3a34561b4cd4beb69ca8a578614
EBUILD kicad-footprints-9999.ebuild 717 BLAKE2B cb40b244d8f158316a7a9a19d869a2f9e6099bfa9ab19e31849782c4e559671ef1d8ccb193d1cda741741833d671e1d8c33868b9d7345c45d88aa6ac6e3e5ca4 SHA512 c8a4a58a97177edf1ee9c110d1c30c03414188be6e62d0abab43a3b263ef538b2f7723a12208470c91c2664936d95ac127cce3a34561b4cd4beb69ca8a578614
MISC metadata.xml 893 BLAKE2B 7ffc0bff4983f6615d17b53ebe1c61cfd4392107bb227081ac39ed62cfacf6afecdcdc8578b27270e7c896bbbced96520083a97fd28867a631276f6950c38f7b SHA512 c920bbd8a11f1d8ae966b962330d88e595b6834bc0060149adac75925251b7e1258a76807a8462422b3f64abb0465bb17fcb32f491e56b309fc47d233142b9dc
diff --git a/sci-electronics/kicad-footprints/kicad-footprints-8.0.6.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-8.0.6.ebuild
new file mode 100644
index 000000000000..7882a2e18c3c
--- /dev/null
+++ b/sci-electronics/kicad-footprints/kicad-footprints-8.0.6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 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
+ SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND=">=sci-electronics/kicad-8.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/Manifest b/sci-electronics/kicad-meta/Manifest
index edf72493d9d7..67af30762263 100644
--- a/sci-electronics/kicad-meta/Manifest
+++ b/sci-electronics/kicad-meta/Manifest
@@ -3,4 +3,5 @@ EBUILD kicad-meta-7.0.11.ebuild 571 BLAKE2B dee55f9ee021b64850d617183010426533ed
EBUILD kicad-meta-8.0.3.ebuild 570 BLAKE2B 9f7c06eacfbd798bc250c17d9c7b1c82697aaf6b971e904502f89fcb6627c5929da5e8c0dc6401c4d11facc0a989ef07b34194a3d05f75502c86e9a29ab0da32 SHA512 e8c21524143b77d05b04fbd449eb8a2e7b74cf8868201b0eb81de7d6212004092bf8c48fa790ee50c96a86f9d8e6c410397c2a4d531dbfcc256b8d47093a7d0f
EBUILD kicad-meta-8.0.4.ebuild 571 BLAKE2B dee55f9ee021b64850d617183010426533ed7357cd2f40d7f3eb7cf48afcc16590c0715f6eccda235fb6ab98477f8ac6cd60123efaffd7d2d92ee7c98e6fa7c9 SHA512 29488d8b13e9f80169149c822e13bc9cb300dd6f502cdc81a7fc72ce3b588f00b6e0a03b49c48880fbd44ef626b2d286e999ba927bbb042a049bbae0028de349
EBUILD kicad-meta-8.0.5.ebuild 571 BLAKE2B dee55f9ee021b64850d617183010426533ed7357cd2f40d7f3eb7cf48afcc16590c0715f6eccda235fb6ab98477f8ac6cd60123efaffd7d2d92ee7c98e6fa7c9 SHA512 29488d8b13e9f80169149c822e13bc9cb300dd6f502cdc81a7fc72ce3b588f00b6e0a03b49c48880fbd44ef626b2d286e999ba927bbb042a049bbae0028de349
-MISC metadata.xml 742 BLAKE2B ac44b483ce823d860b77b12dafad2c7838e713467df948878138d8ff0dcf971a23efd5ad27afa5832e1a065362e84f651ad915dbbb897661ddfc36ce479543cd SHA512 0f15e077bcf21ffe31c84db0adbc90e7fe1a2d98c1d76deb6d458d17f1d0650c0b88dde0a36b6492cfb616dae97f6ecf1465f0d2d9ce36d4aed5d4ce0854ce5e
+EBUILD kicad-meta-8.0.6.ebuild 572 BLAKE2B 1de624b69a0c5d70589701f9d1a19efbcee8283658e0406d45538472b13a6a6aa2f298c345e35f2ab5692c93824e7926be851e6934b7bac9d5637d0aeb517f29 SHA512 bc0967d5c08ff97b7e652ee71afa030e890869e2eafaa6a5581227eb3f0f6c7a42e1af478a4fc542c7a159d5998ee6e1ca72b44d3ad29f3d15758a319373bdd4
+MISC metadata.xml 756 BLAKE2B bff6f709952bd1325c06b6981c1d1984745b85e866ee1e0f089da98127a5be89b82a8a914804e9e1b75b976e66e7b79402989d6a554ae3b335c5bac3b32e518f SHA512 198e7caeef24e3d314b300761a107f78a3f921a9df4177aeed8daf4c7165b16385a191cd973e6fbb2a438ed7db14e2aad5666f21a0d5d0eda7faf10436143f97
diff --git a/sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild b/sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild
new file mode 100644
index 000000000000..a6e7056b8ca1
--- /dev/null
+++ b/sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 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="https://www.kicad.org"
+
+LICENSE="metapackage"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+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-meta/metadata.xml b/sci-electronics/kicad-meta/metadata.xml
index cd288a4d58f5..222db285101f 100644
--- a/sci-electronics/kicad-meta/metadata.xml
+++ b/sci-electronics/kicad-meta/metadata.xml
@@ -14,7 +14,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
- <remote-id type="github">KiCad/kicad</remote-id>
+ <remote-id type="github">KiCad/kicad-source-mirror</remote-id>
<remote-id type="launchpad">kicad</remote-id>
</upstream>
<use>
diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest
index 4a2152743020..6456c1b1a3d2 100644
--- a/sci-electronics/kicad-packages3d/Manifest
+++ b/sci-electronics/kicad-packages3d/Manifest
@@ -3,10 +3,12 @@ DIST kicad-packages3d-7.0.11.tar.bz2 774735333 BLAKE2B af24617db4864b4630413132a
DIST kicad-packages3d-8.0.3.tar.bz2 785569695 BLAKE2B 7e8a125e37873b0bc4b0ff64e5d331f0c74ebd0e6611d30f2a6f2732fea9b67552ae3ac4de6466d2c64ed21c7af02f80186ad9370c0d97aabb82cb2cb663a76b SHA512 60192eba5413cc76d84f4065420fb8a01a80cb9b5cbfb58ba197ebe10befbdd33d9d4ccb75d33c45de791a8fc635bd1225aaf38ad61c5f1a3ce99d03376e44a0
DIST kicad-packages3d-8.0.4.tar.bz2 785528686 BLAKE2B 7bdb20482a7c91f35541d0023931b45525a0d894e363c073b3cfed5b3ec9a1c8094791d7b070138a7cffe6b78189408bac5138e1d7d740a4543e6ac9d5ee76ef SHA512 258bdbe2c6048c790003c1879c75bd8b1e13e626444a2cfd8832afb7b55be01f8e45f3a050024be2855ea43d6150dd155c7659a25e9fcdf54c28fbc07092e5b1
DIST kicad-packages3d-8.0.5.tar.bz2 786812193 BLAKE2B 59b0c186f8baa3df287318fb434f4c5d93e44e14f7fda6d398e0292d7930c00a0b1af90b784fe33c84ee3d769ba3bbb5461e0d7e3832aa9f6f838fefe74e0da4 SHA512 b11a6ca3764a3177d7758dfa0d7a24532fc8db1ee02db42258ee2017477c52d806d9f39e5a2de6d559ba083df222f1ace1a82c516e943365ad37f98b98fe083e
+DIST kicad-packages3d-8.0.6.tar.bz2 790799458 BLAKE2B 3f314ca24a659ff5c52dc275010c6ded8f2ec9ff19b75505c75ee3fc29498d78afd803f8213d26dd2820e33f55d3ec72f0a7dd310c28d02ad9b2284661284b6e SHA512 df53418bdb527ae92cbe6d3220d1cef784f1da65819b49e21f08e3177b88488ab637c318d45502577f20d1486524bd23f0a8e0a0a661f809705e0ea4a5321865
EBUILD kicad-packages3d-7.0.10.ebuild 833 BLAKE2B d4b0e70163864fe9ca82d04ff6b21cec4d41da3b4b3d13aab6ca736254d46637030b9ba83789893372260614069ab93150b115027288300493b22defd70ee81b SHA512 e91ed5aee063e264c3349abb88123b50d6d5f50ef724d25bd982f85bb04f5350662e85b178be4775a7cdca8a86723250fd547bb6f74f8afc744d99da182720d2
EBUILD kicad-packages3d-7.0.11.ebuild 834 BLAKE2B 12043631b8ea895467882541c8581e81382d84a70268899559ddaf57ea3e8c71b1a420417a7c5486dc25dae1e53caa65a2c87546e39a2d0619602eec6f67fd92 SHA512 04426415ea746f657a4372c3bb00516732b75b5fdf21ae8e57e16d8953b286cdebaa0d1129a0b24679eddfcd7f82fb7ab30114707367f0fa51be4ade33e9b39a
EBUILD kicad-packages3d-8.0.3.ebuild 833 BLAKE2B 5183b2828048526c679e79b1bae3ffb384b81c35084705d57c592262098358b36b983716bebb01febc74a032f191d17bd8a445b09a062144ae23d65049516c65 SHA512 30bc1bd972c2427807a40af1a4b2f52953cff5321ee0c897455509930078601dd37887a6193de11681979ca018fac32ff75dff1a9bee2aafd8aef87b865fc5e8
EBUILD kicad-packages3d-8.0.4.ebuild 834 BLAKE2B 425ced73adf5f40c89869f1922fb86e810bb7162d40f46bde177b0c7e3ca7d8fbc7f8873d84f4ef897bd9b71720d2bb53de501f5072a69c69403b32e62ee4f72 SHA512 2af1c720836c3b57cd9b6cff286c4ebd4faa511dc21002ae87201881f5d07df96b48f95b55e45257dd369eb22f869391dc288863c127bea8733fef592c3d64c4
EBUILD kicad-packages3d-8.0.5.ebuild 834 BLAKE2B 425ced73adf5f40c89869f1922fb86e810bb7162d40f46bde177b0c7e3ca7d8fbc7f8873d84f4ef897bd9b71720d2bb53de501f5072a69c69403b32e62ee4f72 SHA512 2af1c720836c3b57cd9b6cff286c4ebd4faa511dc21002ae87201881f5d07df96b48f95b55e45257dd369eb22f869391dc288863c127bea8733fef592c3d64c4
+EBUILD kicad-packages3d-8.0.6.ebuild 834 BLAKE2B 425ced73adf5f40c89869f1922fb86e810bb7162d40f46bde177b0c7e3ca7d8fbc7f8873d84f4ef897bd9b71720d2bb53de501f5072a69c69403b32e62ee4f72 SHA512 2af1c720836c3b57cd9b6cff286c4ebd4faa511dc21002ae87201881f5d07df96b48f95b55e45257dd369eb22f869391dc288863c127bea8733fef592c3d64c4
EBUILD kicad-packages3d-9999.ebuild 834 BLAKE2B 425ced73adf5f40c89869f1922fb86e810bb7162d40f46bde177b0c7e3ca7d8fbc7f8873d84f4ef897bd9b71720d2bb53de501f5072a69c69403b32e62ee4f72 SHA512 2af1c720836c3b57cd9b6cff286c4ebd4faa511dc21002ae87201881f5d07df96b48f95b55e45257dd369eb22f869391dc288863c127bea8733fef592c3d64c4
MISC metadata.xml 922 BLAKE2B 5c654445b0afa119376bb3b852ac4efbfc3a17db20b7f07059f19e84090cef9608a5d48f99c2243947c806af6a55f1830a78b18754f6ed772ffc7d754c79f344 SHA512 5211a081fb402e243e7c17053e55ef618e278a4e1bf0d0981e75b8b5d34b2e50713e0ab093fc580640cf04d4863b4726909dfc4533bbae8c5ffd96b3bc459e08
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-8.0.6.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-8.0.6.ebuild
new file mode 100644
index 000000000000..d4b12654f757
--- /dev/null
+++ b/sci-electronics/kicad-packages3d/kicad-packages3d-8.0.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 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
+ SRC_URI="https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/${PV}/kicad-packages3D-${PV}.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/${PN/3d/3D}-${PV}"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND=">=sci-electronics/kicad-8.0.0"
+
+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 67bf88d0e97e..9569b7312bcc 100644
--- a/sci-electronics/kicad-symbols/Manifest
+++ b/sci-electronics/kicad-symbols/Manifest
@@ -3,10 +3,12 @@ DIST kicad-symbols-7.0.11.tar.bz2 3369887 BLAKE2B a32be647927ea56e5f806a38983001
DIST kicad-symbols-8.0.3.tar.bz2 3671038 BLAKE2B 6a76254b87ae14efd0d8e7edf2569755be902f16ef567c5b4bdd12b9c3e75a7a94437942e4affce378467daaa433d2ddb22fe32f7e39e5a60bd52e91faff23e2 SHA512 60ac5249281e783eae58d368b6521dbb5f0ef524a2be81d04b9578e6540baacf597300b5ac67566d2f91befbf67366eb8bb6cd0036b8773ecd753d91f5ab6cf8
DIST kicad-symbols-8.0.4.tar.bz2 3672987 BLAKE2B 26a10b4acc9c89898221b02d4716f33790da2f6c896a6f4bad1e93eaac99323fad71c9de11065ee9392f6f7f42caaeafcc0f929271bbfee893ddd077c297205a SHA512 5a7d2c04db1953e515c6b008bb48692d2dce9cbbb883fb16cb81ef8189c44d359757ea53a1cfdbbf480e9cdeb6d7d0cd6c1b243523d189543611c2d9584fb8b5
DIST kicad-symbols-8.0.5.tar.bz2 3676439 BLAKE2B ed64cc6f05e6e80fcdee5c14ca4d08e0443dfbd8d0f0390bc13fb2384efa65d7ae54ddfb8f62a0449a9a04818bdaec826d4f20042f6d26a430446e936dd3ddb5 SHA512 4f2e443350c48a48409217eadeb786f1e8b15b98d8bceec9742af670bb3240186ac0ab95674f4f15e46a334836f9e79fc02d831408b77fb88b7f32273b8697da
+DIST kicad-symbols-8.0.6.tar.bz2 3687198 BLAKE2B e3f2b44889bd2d1cc685f06edc9f91a8d4e72eb464b155ebecfe184be5d751225938cc1da358e10c0f832434f97da8b04c655e96bf79cfd91b55beb166f3c47a SHA512 6d32c2781c105fdb8f97b7e1df27cf2d857d886bb5933ab6e6f0707022ab34d8d68e757f1334deefa4281a5c75ace77e4ff092941b11e0f82348343dfa13aa98
EBUILD kicad-symbols-7.0.10.ebuild 707 BLAKE2B cfe1e71d5ee98a63626fca3c742a80d975e5344e28ab5f61cb9dfcc8e0ada5f0df15796e574987897860ec8131ba0a8e590bc1fe3a35b756909ef289ec9e7316 SHA512 24d28b94036d1517c018fb96d8298d2af5d1968d57e3f41daf86782b63da83ed6e68a6ea4c97c0e0db8cb86f7fea666ef9abf94eea1c6daaee123d1e199ad0d1
EBUILD kicad-symbols-7.0.11.ebuild 708 BLAKE2B 7286df61da973ae7ec5136a186ec4a9a3d85507cb9627380a67370b8c15bef54c4cbd27dec993d4e97428655817208cbe0a44aaf3afaeb1268cf430d3ed88f19 SHA512 1dc6bae1fbe964205a9d8cf91a92f974e9561f1f4417417bef3174370fa8d6a421579c8311432b6818360c726c932bae61f7b27d0975e5f7be426a34055c095d
EBUILD kicad-symbols-8.0.3.ebuild 707 BLAKE2B a35b59ac95d47f8ea5491d45a89fdd2980cc58acd6949faf979373af00336c2a5776cdf2b8f32bd9e443a2327e21b07a75674fb83f0100e72ad423342e5821fb SHA512 9d64c1ea1fccb0a217d6118a54f6009d9239717e9949a2f79647bf43e781348fbfeef408d2048c66681564f457fdd854111e00a9761c3a3e7a3bbfc338103779
EBUILD kicad-symbols-8.0.4.ebuild 708 BLAKE2B 218f7204954d7bb70d1f6973b00e181a8f6365ed5370eeeac112067df3aa4957c70f611bd05d90686d05b50324cd7e74384975fd9ca738285bd9920de6f84485 SHA512 16da9924a0573cd68df1822bac666699d4aba43168d728e43382416f07c722fa566258b0dd158a72c18b88539f9c1ed6ff17cd41a40a8adcfdadbe841379dcbb
EBUILD kicad-symbols-8.0.5.ebuild 708 BLAKE2B 218f7204954d7bb70d1f6973b00e181a8f6365ed5370eeeac112067df3aa4957c70f611bd05d90686d05b50324cd7e74384975fd9ca738285bd9920de6f84485 SHA512 16da9924a0573cd68df1822bac666699d4aba43168d728e43382416f07c722fa566258b0dd158a72c18b88539f9c1ed6ff17cd41a40a8adcfdadbe841379dcbb
+EBUILD kicad-symbols-8.0.6.ebuild 708 BLAKE2B 218f7204954d7bb70d1f6973b00e181a8f6365ed5370eeeac112067df3aa4957c70f611bd05d90686d05b50324cd7e74384975fd9ca738285bd9920de6f84485 SHA512 16da9924a0573cd68df1822bac666699d4aba43168d728e43382416f07c722fa566258b0dd158a72c18b88539f9c1ed6ff17cd41a40a8adcfdadbe841379dcbb
EBUILD kicad-symbols-9999.ebuild 708 BLAKE2B 218f7204954d7bb70d1f6973b00e181a8f6365ed5370eeeac112067df3aa4957c70f611bd05d90686d05b50324cd7e74384975fd9ca738285bd9920de6f84485 SHA512 16da9924a0573cd68df1822bac666699d4aba43168d728e43382416f07c722fa566258b0dd158a72c18b88539f9c1ed6ff17cd41a40a8adcfdadbe841379dcbb
MISC metadata.xml 851 BLAKE2B 586acb41bef75197bbc62cb2c809850d5b38595fc65d590dc2d9f7d7134e77469c0c77ff95865f26bbb1b1d3922d032f335eb7a703f16002aa44e4c365ebab0c SHA512 9b4150000f8961975f252102b4ff516292d8e2e9e39f689de62d7628e38955b86d6c2a455688d4622b3c0137e04f167966ff5a3a7c58eef2ad9c82cd821c0fb0
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-8.0.6.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-8.0.6.ebuild
new file mode 100644
index 000000000000..4cea180f1254
--- /dev/null
+++ b/sci-electronics/kicad-symbols/kicad-symbols-8.0.6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 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.bz2"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND=">=sci-electronics/kicad-8.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 322109ca8931..adc3e631bdd5 100644
--- a/sci-electronics/kicad-templates/Manifest
+++ b/sci-electronics/kicad-templates/Manifest
@@ -3,10 +3,12 @@ DIST kicad-templates-7.0.11.tar.bz2 1348043 BLAKE2B 8aa60440fb2344dbcf2336ed7869
DIST kicad-templates-8.0.3.tar.bz2 2783001 BLAKE2B 96c51de6dcecc371bb7b7ddef4807a95eb14d87459ec7b65f55bf79f6d4cda926f95a75bdda66b468e4f512b7f17b179f58cb307c69af9337e450f675071bf0e SHA512 267ffd98a1b18392257b7f35b938420f36da5022c40e5b86da18cb96636cbf71b52b62f2f4a70eae066c89751803f2a9fadb5f4f99940879e6da2eacac97787c
DIST kicad-templates-8.0.4.tar.bz2 2783175 BLAKE2B bd419b26e4ddff95de3e5af7d0bd6c53d54b8560e2e5a95a80585a93ec8dc3b82e26dfe48ce75962060aaeb84a7026bf5906280c946c68daee53bd7196a27656 SHA512 2cf72f160e2aa9600703afc3efbd2a72c64519db7121cf355278062aa4cc3e35e09f07024b36266b67496abfc30785ccda2a25589c77bfae58c7e2ea993ad067
DIST kicad-templates-8.0.5.tar.bz2 2783478 BLAKE2B 4e78424485011e57b029d0966518eb2315529a9922f32fe34bdfb1a3a0e4e8cdd9dffad6aad3151219a319a75079d82d62c11bb89573f2cc41a377015ed7fbb7 SHA512 be7e86a8e89a350e4580faaa2afcbe3e654d36eaa81585fdc1f1f8a89a0d7faeb84b86b9959392a8d98048c23cdee9e572c657998d195f87db378fb8cfb9483b
+DIST kicad-templates-8.0.6.tar.bz2 2783854 BLAKE2B 07af15a706c20433ce102f2cdda439d270bd48948cde404c77eed42ff3fe65b1e79143c68909e0aaabf1c74b4b39c863812de5a62f5aaef5ae88c7d352484e5a SHA512 38d6930b84481a1eb789016c4e85fcc68c59e58cb27ee4d8127ccba8ae1c78882afb1e110d218b0d3c280418d12bc23b1c0746da972dd5ed4f3c4c82f57db45f
EBUILD kicad-templates-7.0.10.ebuild 562 BLAKE2B 2f6b519aefb91915e806a8a1826f3133e2c818458a1cd4eef83918791798fd6e581ea16991e52ef56dcd53b9e0581e92411170b9199c642268798f222f9ff367 SHA512 7effea38fefe0a42de8aaebb08e2aadde0a709d59402b273d6c6861f0500835d7868475ddfd6ff7e93fbd69ffd18bc9d8ca635d6eb63dd3b66fec5f76326de13
EBUILD kicad-templates-7.0.11.ebuild 563 BLAKE2B 4e893e19f8b0a590e9f95bd48cc53d19a9b7b79a9ebd3df243e87f10c3266a9089e38437224ae74f333c52cd74dd2802ccbcc54c5c9ec51a9c531e3357636842 SHA512 661babf3f81b280fd66f3ae04a90f269029769c179427acf4370153d0db590da1da4e09daa36fdfe97ea6dfade64f547e12b844c1ad56ead1ece7aa3f77d5ab7
EBUILD kicad-templates-8.0.3.ebuild 562 BLAKE2B 6af1859bbe19b959179d727bf14a48943a955e2c883aab1d9ba1d02f38e75e757316cdaaf0b96e2e627d4be85cff1e8fa65dffd899adaa46e898a6398ac99f78 SHA512 53c29e9339a10c37854240fde881c765807639dffb409028dafeadbce02edf235c46481c1a919afe18e7e664cc29c177d1ee2498664764b2a5872beca373760c
EBUILD kicad-templates-8.0.4.ebuild 563 BLAKE2B 3998d7a78ee0e45b626cfbb453dc5e5719dcb46c1e695b1f17c22a9b36249ceaf724fde77b5c6d64a52fd90be65f5e5557cfb8d15b19e5ca553cc66c98fcd3e8 SHA512 58d9cf4aad6f41cf182fcefee778eb995a4896438a6f9d17a3975311471d810b649459e041028d9b86be1652ef867aae0807be9e327f2915b0519ba3571d91d2
EBUILD kicad-templates-8.0.5.ebuild 563 BLAKE2B 3998d7a78ee0e45b626cfbb453dc5e5719dcb46c1e695b1f17c22a9b36249ceaf724fde77b5c6d64a52fd90be65f5e5557cfb8d15b19e5ca553cc66c98fcd3e8 SHA512 58d9cf4aad6f41cf182fcefee778eb995a4896438a6f9d17a3975311471d810b649459e041028d9b86be1652ef867aae0807be9e327f2915b0519ba3571d91d2
+EBUILD kicad-templates-8.0.6.ebuild 563 BLAKE2B 3998d7a78ee0e45b626cfbb453dc5e5719dcb46c1e695b1f17c22a9b36249ceaf724fde77b5c6d64a52fd90be65f5e5557cfb8d15b19e5ca553cc66c98fcd3e8 SHA512 58d9cf4aad6f41cf182fcefee778eb995a4896438a6f9d17a3975311471d810b649459e041028d9b86be1652ef867aae0807be9e327f2915b0519ba3571d91d2
EBUILD kicad-templates-9999.ebuild 563 BLAKE2B 3998d7a78ee0e45b626cfbb453dc5e5719dcb46c1e695b1f17c22a9b36249ceaf724fde77b5c6d64a52fd90be65f5e5557cfb8d15b19e5ca553cc66c98fcd3e8 SHA512 58d9cf4aad6f41cf182fcefee778eb995a4896438a6f9d17a3975311471d810b649459e041028d9b86be1652ef867aae0807be9e327f2915b0519ba3571d91d2
MISC metadata.xml 672 BLAKE2B d44d6bd1b467c2d76bf4494d3b85daf2c70b38833d356b0fac27ba4f0f9b5855c551542473e27c183555c56600fc20d93f8237208a7fef82b4cb180e0fc35a9e SHA512 4f1dbbbde66b25d227818c5ea7158ab33698d245368f28ff593bea88805d3ef3fdf4d3ad02aab58f573119a8946632301fe0d3da9ec23e0a7850f98838aff15d
diff --git a/sci-electronics/kicad-templates/kicad-templates-8.0.6.ebuild b/sci-electronics/kicad-templates/kicad-templates-8.0.6.ebuild
new file mode 100644
index 000000000000..56a84f2bc09a
--- /dev/null
+++ b/sci-electronics/kicad-templates/kicad-templates-8.0.6.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2024 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
+ SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+
+RDEPEND=">=sci-electronics/kicad-8.0.0"
diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest
index 268fd034799f..9ecf9cabe492 100644
--- a/sci-electronics/kicad/Manifest
+++ b/sci-electronics/kicad/Manifest
@@ -5,10 +5,12 @@ DIST kicad-7.0.11.tar.bz2 44083805 BLAKE2B d923581f49b3cf48776de56ba12ddc99e9422
DIST kicad-8.0.3.tar.bz2 72936035 BLAKE2B 667d6bc2e3a3f7ccc7a22a63d22702e6886404a86bca6ca2acdd5181c7046995332bb70f1fca9d25b20d9a7e1a9545488d00fb8d2ca70fd479a989ccea6c856f SHA512 14921827120381e749d094d2a76c850d2bee394c496859df3f4550a32b678a9523199a745e199f7c874ef85b2e8279129578e666c16932fbbcb1ba98c4e62b34
DIST kicad-8.0.4.tar.bz2 72958676 BLAKE2B 756970ea920e8951d76a53596b46ca83b904e50f50474f03b2efa1aad815092c819b5ad144717bfeba7c778cd3fd18fc2f082beaf47e88a51f9acc575e8aaac2 SHA512 b490cd201b79388ca9ba771363043373034f036cc73e520cf1c4cf9c011dfd25a5e9c3eee8a7bfe23521193cd44f6c28aaf3e270e8444e7ba75dff62e6a74f1e
DIST kicad-8.0.5.tar.bz2 72957862 BLAKE2B ae5c9c96a723bae7bc40577f5275b622d741d3ec8038ed11f5e1fac81b767be42d222a5ce1a121e26462f75998d296a07178e51dd61a08a2419583bd7e5ac1ad SHA512 a093debe0029d18db89d341ce1767a7cc2cf0598c5e36be2781ba6d72c25a8fbd16e12d7c9f184f3628984be31c375000fd5b702ccc9851702e126aeba15dbea
+DIST kicad-8.0.6.tar.bz2 72953578 BLAKE2B be13ebeba9b9c8d1316074870e9f58fa8629d6cdc2a9ca9aac20f4bea0b743e8da86e711692515d4a817372822fe7305e426d65d8bf3a7729f2ee039c6b7c0ec SHA512 6c35830c9314b801970a4af4100e3ffc30d1c4eaea9a806f8c23f22d2d3d46743d70b9748b757f0b990b9e394aa97edf45da0d484274faa2f20ba1d83ff6b7b4
EBUILD kicad-7.0.10-r1.ebuild 4362 BLAKE2B da5f53b0e9c03b1972e40ae7405f725a88521e3840c40babf1e8872a90d5b53e05d269fbcec900031b871aae975de28a97807107b2e1fe9e0d0078e9bc05d653 SHA512 6dcb15a0da568aa76cc35601e326a51f4bb19b80c12cd12384e28fcb5271579e706c82967c7140f2a44f278b320cb6d4510a437d6f6433df32332703fd27edab
EBUILD kicad-7.0.11-r1.ebuild 4363 BLAKE2B 8e949fe586c381f077636fc3a248e04203dfc0d7a0b4a3446870bc1ca8a39eb4d8d59673ef13a7f45a5f07ae86bdaf67ecb0390d8530f53035ce1e679e55954b SHA512 7a3b11b1c7eacbd76e6ae761a8978ef38233c3a0ad2c453259bbad24a38087fd53186a7f50a72e5188e5d1a9583a2c48f2771f5680d12756f87e31e4f395f5a3
EBUILD kicad-8.0.3-r1.ebuild 4590 BLAKE2B 3c0aab8a180844d32ac4c46eac69861ce8be1f902cb1ae931180e9a5e0e1bd8ab9c0875d05903bccde00c55d428bd97b54626d49708095453065b7f56f6ec35c SHA512 5094d24508476525b22cbd1ee52ca7c21689bb10613069f114e9a1194747cf6d821c7f21314b10ebee952ec5fb8af62b8834bd4bccdc3e3de27d16ab7da1f5b2
EBUILD kicad-8.0.4.ebuild 4579 BLAKE2B fa1b3602cbf89f4845866ffc4aed199afae4f292322aadde168c6e4b9c6c3a329881cc3c1645c7dc2c5ed554f31580af6f7fd2e27bfd2e54050d296c4bfe36c6 SHA512 13e95f1b3532ebb98a8393c4e2f746f77306f3149e10cb5e6b83e98769debfaa457c023033030d9c4343a06c22aa7466c3c3170957b35468b58da56ebeb2601d
EBUILD kicad-8.0.5.ebuild 4519 BLAKE2B 25cd1565e2bb21b57362b3d9b319335dc206682a328086ef38371c2cb66208fbc40a062efc2f065915ff81d4d4aeae24b5a6d53b862ed438e0dec8176881c7fc SHA512 bc8369d12fd96f99411197ea5df6e9ec9dd58af3df8710a9bbf0179a8bcb387655dfa0694dd1c5d70384baff4f0b44d523ea6c2018b45179d6c7c7be7f8ffe44
+EBUILD kicad-8.0.6.ebuild 4519 BLAKE2B 25cd1565e2bb21b57362b3d9b319335dc206682a328086ef38371c2cb66208fbc40a062efc2f065915ff81d4d4aeae24b5a6d53b862ed438e0dec8176881c7fc SHA512 bc8369d12fd96f99411197ea5df6e9ec9dd58af3df8710a9bbf0179a8bcb387655dfa0694dd1c5d70384baff4f0b44d523ea6c2018b45179d6c7c7be7f8ffe44
EBUILD kicad-9999.ebuild 4602 BLAKE2B cd624adeb0148541f12d56aa878873354b8dec95d15d3e6af43b5b1a8d3d2d3b34e3a3111a4b9e8a60c6c79e4516433f4e2de0505730bdde8476f453d794e820 SHA512 6711c458bb83f07bb84abc7481191b3f5cdde88c8fdfa933b5d2611c985bedbdc5120365f215140f835d8a21d46aed7af256b4e77cb28e848d8dc40845cae689
MISC metadata.xml 811 BLAKE2B 4f2150b49b1bebf73aa3440ae1ace1624ce02e022d361051e895a18d28f2ab802fed04c94552b36fc0265335a1eacd5d3a7c407fc88f0c4f7de9e4fa6afa6c5f SHA512 c09c2143516f361a8553ab5c44ffa47c77c7a8dbf53596dfe9ba81378c1a7e3aee8378353950cd8805b675d0a29444848fddd4acfe107a54e3f56e87183a1c6c
diff --git a/sci-electronics/kicad/kicad-8.0.6.ebuild b/sci-electronics/kicad/kicad-8.0.6.ebuild
new file mode 100644
index 000000000000..b283adfdb349
--- /dev/null
+++ b/sci-electronics/kicad/kicad-8.0.6.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+WX_GTK_VER="3.2-gtk3"
+
+inherit check-reqs cmake flag-o-matic 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.bz2 -> ${P}.tar.bz2"
+ 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 nls openmp test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="!test? ( test )"
+
+# 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
+# Depend wxGTK version needs to be limited due to switch from EGL to GLX, bug #911120
+COMMON_DEPEND="
+ app-crypt/libsecret
+ dev-db/unixODBC
+ dev-libs/boost:=[context,nls]
+ dev-libs/libgit2:=
+ media-libs/freeglut
+ media-libs/glew:0=
+ >=media-libs/glm-0.9.9.1
+ media-libs/mesa[X(+)]
+ net-misc/curl
+ >=sci-libs/opencascade-7.5.0:0=
+ >=x11-libs/cairo-1.8.8:=
+ >=x11-libs/pixman-0.30
+ >sci-electronics/ngspice-27[shared]
+ sys-libs/zlib
+ >=x11-libs/wxGTK-3.2.2.1-r3:${WX_GTK_VER}[X,opengl]
+ $(python_gen_cond_dep '
+ dev-libs/boost:=[context,nls,python,${PYTHON_USEDEP}]
+ >=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}]
+ ')
+ ${PYTHON_DEPS}
+ nls? (
+ sys-devel/gettext
+ )
+ test? (
+ media-gfx/cairosvg
+ )
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ sci-electronics/electronics-menu
+"
+BDEPEND=">=dev-lang/swig-4.0
+ doc? ( app-text/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="1500M"
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+ python-single-r1_pkg_setup
+ check-reqs_pkg_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ else
+ default_src_unpack
+ fi
+}
+
+src_prepare() {
+ filter-lto # Bug 927482
+ cmake_src_prepare
+}
+
+src_configure() {
+ xdg_environment_reset
+
+ local mycmakeargs=(
+ -DKICAD_DOCS="${EPREFIX}/usr/share/doc/${PN}-doc-${PV}"
+
+ -DKICAD_SCRIPTING_WXPYTHON=ON
+ -DKICAD_USE_EGL=OFF
+
+ -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_INSTALL_DEMOS="$(usex examples)"
+ -DCMAKE_SKIP_RPATH="ON"
+
+ -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade
+ -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade
+
+ -DKICAD_SPICE_QA="$(usex test)"
+ -DKICAD_BUILD_QA_TESTS="$(usex test)"
+ )
+
+ setup-wxwidgets
+ 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.
+ mkdir -p "${BUILD_DIR}/qa/eeschema/" || die
+ ln -s "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die
+
+ export CMAKE_SKIP_TESTS=(
+ qa_cli
+ )
+
+ # LD_LIBRARY_PATH is there to help it pick up the just-built libraries
+ LD_LIBRARY_PATH="${BUILD_DIR}/common:${BUILD_DIR}/common/gal:${BUILD_DIR}/3d-viewer/3d_cache/sg:${LD_LIBRARY_PATH}" \
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+
+ dodoc doxygen/eagle-plugin-notes.txt
+
+ if use doc ; then
+ cd doxygen || die
+ dodoc -r out/html/.
+ 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 "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
+}