Removed most of KiCAD

This commit is contained in:
Torsten Kurbad 2024-06-11 16:38:10 +02:00
parent da5cc6aa41
commit 0f0fba5e64
21 changed files with 16 additions and 345 deletions

View File

@ -1,3 +0,0 @@
DIST kicad-doc-8.0.2.tar.bz2 90957629 BLAKE2B 4672b478491288ed7508ff98d2f07e90d2322ce44b99eaab68f4378b6538a6c18ffd60b928d07af17ff7dfe5c1c26276c4ea4ce3ccb491d23fa812d9f343416a SHA512 1c1d5adf65844c84558d3efbb5b043caa5a2f18a9aac021f92cbbeae626848b4825e3b58f939a28f0484da36e81594170769ee55d9e9b2cfe2463ab8a2cc18df
EBUILD kicad-doc-8.0.2.ebuild 1811 BLAKE2B 6c4f2a2c611bc08de88fcdec66bd248c0c0df25103a5ff9cd053551555487dda11d45e3847f12ae4a70d55e1c39acfa75a01239aa2f2e0944b854892b8b74ef4 SHA512 ea091728cce187754dec333c647a9424ae6f56650310b0c3eb4d3971c2e58a7727f5d4791861e100ba75d97bdadb9c95d399e4db12be3b790edab97abd75ddff
MISC metadata.xml 861 BLAKE2B d1cfbf0b3a558b876cc446ffb27ac09d0bac29328d370b064f950117692a0582adc48cac4c8d887ac4151aae72c8cbeef20b521da166a77c7a787951da812f8c SHA512 3d12ebc29679fc7b7d2a75d5d33a053dfb21c96213aa98dd8350f4eb364a4149e35b0f18ca6d9e59f86e57df0abb59e182c7f8fdfda38e4bce8a5308009c85fa

View File

@ -1,59 +0,0 @@
# 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 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.bz2"
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="
>=dev-ruby/asciidoctor-2.0.12
>=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=(
-DPDF_GENERATOR="DBLATEX"
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
-DSINGLE_LANGUAGE="${L10N}"
-DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help
)
cmake_src_configure
}

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="html">Generate documentation in HTML format</flag>
<flag name="pdf">Generate documentation in PDF format</flag>
</use>
<longdescription>
Kicad-doc is the extended manuals and documenation for Kicad. Kicad is
an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit board artwork.
</longdescription>
<upstream>
<remote-id type="gitlab">kicad/services/kicad-doc</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,3 +0,0 @@
DIST kicad-footprints-8.0.2.tar.bz2 26517366 BLAKE2B d65b1c64f9c009ad8d232198544e351949137d567a4ed77bad6ed46e2e4eefd2dad8437ed8c11992fde4657be25d93e9f3fc69f50be846df480cf393f2dfb6d3 SHA512 b194aa4396209f248d21e089078be17844182275c252b4a9d8a013860d91983589a835c89f7d64e83bbd90ba9dc4ea0254377a04a3ce8b3313400c105e6febd5
EBUILD kicad-footprints-8.0.2.ebuild 717 BLAKE2B cb40b244d8f158316a7a9a19d869a2f9e6099bfa9ab19e31849782c4e559671ef1d8ccb193d1cda741741833d671e1d8c33868b9d7345c45d88aa6ac6e3e5ca4 SHA512 c8a4a58a97177edf1ee9c110d1c30c03414188be6e62d0abab43a3b263ef538b2f7723a12208470c91c2664936d95ac127cce3a34561b4cd4beb69ca8a578614
MISC metadata.xml 776 BLAKE2B 30982b2c0cea33ecaaa4284235bd37fdf622f34a3f85ec0a5d2ede84669afef43c07e25af0e60048ea0167cbb8ff38af8ec0a4b0462b0f2efe418e7efde77278 SHA512 b4ccbef5457263dec344709e4ba4a900da9abe252983fd67798a5b1ab9bc1c9d24f6178bbb493db1eac617ff64bb5d31f29df570891751a52a86a6beb55d6d56

View File

@ -1,28 +0,0 @@
# 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

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
The KiCad footprint libraries are the individual .pretty directories.
Each .pretty directory contains multiple .kicad_mod footprint files.
These footprints are best used in combination with the official symbol
libs and 3d model libs.
</longdescription>
<upstream>
<remote-id type="gitlab">kicad/libraries/kicad-footprints</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,2 +0,0 @@
EBUILD kicad-meta-8.0.2.ebuild 571 BLAKE2B dee55f9ee021b64850d617183010426533ed7357cd2f40d7f3eb7cf48afcc16590c0715f6eccda235fb6ab98477f8ac6cd60123efaffd7d2d92ee7c98e6fa7c9 SHA512 29488d8b13e9f80169149c822e13bc9cb300dd6f502cdc81a7fc72ce3b588f00b6e0a03b49c48880fbd44ef626b2d286e999ba927bbb042a049bbae0028de349
MISC metadata.xml 625 BLAKE2B b85af17cbbc843d7d841344c73f0812457bf6ef209c44397bfcf5404175dc20a2525fb4b9501ca61ab686c7afb365bc7165b632ec71b907bcfbe7e651df54e0d SHA512 fdf916963a769a8b0f0d0f3ecf737c3e19a928ac3335d042fe9f57b700a9738f1e834a1f42a97efd9171fd3d218ac9f33337b30583516654efb03bc6902869c6

View File

@ -1,27 +0,0 @@
# 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="http://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}
)
"

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">KiCad/kicad</remote-id>
<remote-id type="launchpad">kicad</remote-id>
</upstream>
<use>
<flag name="minimal">Do not install extra data like 3D packages and templates.</flag>
</use>
</pkgmetadata>

View File

@ -1,3 +0,0 @@
DIST kicad-packages3d-8.0.2.tar.bz2 775246257 BLAKE2B e6d64f4c19ade481859ae88132d0a697434d127d100cb9c47f846474004bed9b52a6941747ee663935f14882c30a608444f989a298b4dc95774d8da866edd572 SHA512 861b0bf0b1259db2387eddec65fc4d1e730172257f6bd5c91931884fe3ff4e2a8b90dab41e4e6d6304dd1c8280a22d725d0480d8925e58a1c02785fdce472d86
EBUILD kicad-packages3d-8.0.2.ebuild 834 BLAKE2B 425ced73adf5f40c89869f1922fb86e810bb7162d40f46bde177b0c7e3ca7d8fbc7f8873d84f4ef897bd9b71720d2bb53de501f5072a69c69403b32e62ee4f72 SHA512 2af1c720836c3b57cd9b6cff286c4ebd4faa511dc21002ae87201881f5d07df96b48f95b55e45257dd369eb22f869391dc288863c127bea8733fef592c3d64c4
MISC metadata.xml 805 BLAKE2B 79006b824550a461a0dfa08cda2457737df8044e463fbe46197052e87373d023f39fb92547a4aa9eb3d3eed76e34c1df45c3eacb0639584a2c5dbf618744b50d SHA512 4df24c4f374c33338e946b3422167bc2694ecbfc28e9e22e0c6ddd3ba5654d28091323fa4b76908cb39b0bb11069899bb67d6739be36454389d9959a74059223

View File

@ -1,31 +0,0 @@
# 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"

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
The KiCad 3D model libraries are the individual .3dshapes directories.
These 3d models are best used in combination with the official footprint
libs. Each directory directory contains multiple 3D model files, with
the following supported file formats: WRL, STEP.
</longdescription>
<upstream>
<remote-id type="gitlab">kicad/libraries/kicad-packages3D</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,3 +0,0 @@
DIST kicad-symbols-8.0.2.tar.bz2 3638897 BLAKE2B 91c840d5c737a5aff9e90bc2a04f1e7de5c9500c083ef4494b658c6232580928042841773cf939bf0f7f85a1d7059523ccce2e2ca31631831927c41e7e9c7d38 SHA512 d6403e18ff6058e990aa9a272cb711915aa96fcf85b9a95aaa4ea1b26deadba998c395a6eb9d81003b6af626341b94f428f094ab28598f430479961cd4869f5d
EBUILD kicad-symbols-8.0.2.ebuild 708 BLAKE2B 218f7204954d7bb70d1f6973b00e181a8f6365ed5370eeeac112067df3aa4957c70f611bd05d90686d05b50324cd7e74384975fd9ca738285bd9920de6f84485 SHA512 16da9924a0573cd68df1822bac666699d4aba43168d728e43382416f07c722fa566258b0dd158a72c18b88539f9c1ed6ff17cd41a40a8adcfdadbe841379dcbb
MISC metadata.xml 734 BLAKE2B 3ced3601f6bb8bd6289b8bd2b7d18745643bf151bee1393c12653e722a8bb4f0edcfac97a7ad3b76072af665c7463f71f0f442c653fc9e177cbe520e5c2dc623 SHA512 00b5f7f898380c773481889350fc42bba3211096914dcd73c1a8ee112ea12890aa88dde96ea819689d2a87367da6962b2d402c29c4b0449012df43a9d55af0bb

View File

@ -1,28 +0,0 @@
# 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

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
The KiCad symbol libraries are the individual .lib files, with the
corresponding .dcm files containing symbol metadata. These symbols are
best used in combination with the official footprint libs.
</longdescription>
<upstream>
<remote-id type="gitlab">kicad/libraries/kicad-symbols</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,3 +0,0 @@
DIST kicad-templates-8.0.2.tar.bz2 1347684 BLAKE2B 6d95496057d2f612539f57ee15d1fa3dc9a6f5929bdcf58a7a94123304a9b0e6788c56a66ff307ce84e262260ec2fe990a860fda104899447a2d02658821b8f8 SHA512 0b7a8806bb1a1cac5c53a851c09f922524ebfeaa565fa064c90a9ba2bd7871b4d2824c2417e7afa97e11cdc8ee2ccf2c713809829180dc50edbdd009079ff55d
EBUILD kicad-templates-8.0.2.ebuild 563 BLAKE2B 3998d7a78ee0e45b626cfbb453dc5e5719dcb46c1e695b1f17c22a9b36249ceaf724fde77b5c6d64a52fd90be65f5e5557cfb8d15b19e5ca553cc66c98fcd3e8 SHA512 58d9cf4aad6f41cf182fcefee778eb995a4896438a6f9d17a3975311471d810b649459e041028d9b86be1652ef867aae0807be9e327f2915b0519ba3571d91d2
MISC metadata.xml 555 BLAKE2B 3da578d0a134622513076db9ee939f467173c38b96ca157f95485a799b6f57a6ee07cbb84a0402e8f68be4a44fe8db9b214e2730878449ee44caaf284e0dc2d8 SHA512 274899879d1075fc5e421d7181934e9359ba93c73fe4beb67ab4c28456931b21ff321b36ce1c2e56d37ad8387b75dfc8cffbd0235fadb52ef9c5a4a0cecaa051

View File

@ -1,22 +0,0 @@
# 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"

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="gitlab">kicad/libraries/kicad-templates</remote-id>
<remote-id type="github">kicad/kicad-templates</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,3 +1,3 @@
DIST kicad-8.0.2.tar.bz2 72713030 BLAKE2B ba47a16b5c435970a45aef9988a5f6d218df043a5ce3547a191991ef63620125989e6218e97266a62c76ece604248bdf0652a10d423346fe3648c8ba240651c4 SHA512 192bcd494f00eccc430ddf9e9034f252bae177f06da81e730fb82f000a58bac9201d49ecba93c3bd17608b6df6a944beea85849050e306e11c1abfbd0028ff4a DIST kicad-8.0.2.tar.bz2 72713030 BLAKE2B ba47a16b5c435970a45aef9988a5f6d218df043a5ce3547a191991ef63620125989e6218e97266a62c76ece604248bdf0652a10d423346fe3648c8ba240651c4 SHA512 192bcd494f00eccc430ddf9e9034f252bae177f06da81e730fb82f000a58bac9201d49ecba93c3bd17608b6df6a944beea85849050e306e11c1abfbd0028ff4a
EBUILD kicad-8.0.2.ebuild 4437 BLAKE2B d97a81e37f42b0f68be095a4662c73dbcdaed9de4707f49dccec9bad8cfe7c88b577ce7241a4aea831b674753a4bc37570bef8ded4ac8592d350466d947374b3 SHA512 cb4639175d6a547643e40b54e71b6cff07e024bf16f85163cf1b5fb5d3b9193e21680e7e1f30770570d012a59af35ed7368c5ae2ff07c3a8e531e34c1f71646d EBUILD kicad-8.0.2-r1.ebuild 4477 BLAKE2B e80525202782c7e7e58d976a0b495150e3d8ba9b4073c9dac854933ad22973927c6dea3fd39099928f675ce866979ef094e182334cd5e9c5e03c26a03f5ba5a5 SHA512 7c1b65eb3ef115346140cabea04ab4f64f791872bd999136e32bba2a1c2c172c70a3757b17412826f32c2793c80d7d60050f47630e50bcd7c032e592fef0c152
MISC metadata.xml 765 BLAKE2B ca4295c6a975ed0161e0e19d6faffa585001c65bb1b6c53659d63c22e10aa1856840752182e3f9108b11b582105691f6d03f3a63ee52fd5ea875b6ba3049e379 SHA512 4af8f8ba855e6c5dfc6e4f34ba1efb0705fb92dffb9fcc6196457a43ebca11da4b1fa752a6bba02ce3bbb7bfbbeeb5a5f8cedfb055378d67f622014ba3240768 MISC metadata.xml 811 BLAKE2B 4f2150b49b1bebf73aa3440ae1ace1624ce02e022d361051e895a18d28f2ab802fed04c94552b36fc0265335a1eacd5d3a7c407fc88f0c4f7de9e4fa6afa6c5f SHA512 c09c2143516f361a8553ab5c44ffa47c77c7a8dbf53596dfe9ba81378c1a7e3aee8378353950cd8805b675d0a29444848fddd4acfe107a54e3f56e87183a1c6c

View File

@ -3,10 +3,10 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..12} )
WX_GTK_VER="3.2-gtk3" WX_GTK_VER="3.2-gtk3"
inherit check-reqs cmake optfeature python-single-r1 toolchain-funcs wxwidgets xdg-utils inherit check-reqs cmake flag-o-matic optfeature python-single-r1 toolchain-funcs wxwidgets xdg-utils
DESCRIPTION="Electronic Schematic and PCB design tools" DESCRIPTION="Electronic Schematic and PCB design tools"
HOMEPAGE="https://www.kicad.org" HOMEPAGE="https://www.kicad.org"
@ -28,7 +28,7 @@ fi
# BSD for bundled pybind # BSD for bundled pybind
LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD" LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD"
SLOT="0" SLOT="0"
IUSE="doc examples nls openmp telemetry test" IUSE="doc examples nls openmp test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -49,7 +49,6 @@ COMMON_DEPEND="
media-libs/mesa[X(+)] media-libs/mesa[X(+)]
net-misc/curl net-misc/curl
>=sci-libs/opencascade-7.5.0:0= >=sci-libs/opencascade-7.5.0:0=
<sci-libs/opencascade-7.8.0:0=
>=x11-libs/cairo-1.8.8:= >=x11-libs/cairo-1.8.8:=
>=x11-libs/pixman-0.30 >=x11-libs/pixman-0.30
>sci-electronics/ngspice-27[shared] >sci-electronics/ngspice-27[shared]
@ -97,6 +96,11 @@ src_unpack() {
fi fi
} }
src_prepare() {
filter-lto # Bug 927482
cmake_src_prepare
}
src_configure() { src_configure() {
xdg_environment_reset xdg_environment_reset
@ -120,8 +124,6 @@ src_configure() {
-DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade -DOCC_INCLUDE_DIR="${CASROOT}"/include/opencascade
-DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/opencascade
-DKICAD_USE_SENTRY="$(usex telemetry)"
-DKICAD_SPICE_QA="$(usex test)" -DKICAD_SPICE_QA="$(usex test)"
-DKICAD_BUILD_QA_TESTS="$(usex test)" -DKICAD_BUILD_QA_TESTS="$(usex test)"
) )
@ -142,7 +144,8 @@ src_test() {
dosym "${BUILD_DIR}/eeschema/_eeschema.kiface" "${BUILD_DIR}/qa/eeschema/_eeschema.kiface" || die dosym "${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 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 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() { src_install() {

View File

@ -5,13 +5,14 @@
<email>zoltan@sinustrom.info</email> <email>zoltan@sinustrom.info</email>
<name>Zoltan Puskas</name> <name>Zoltan Puskas</name>
</maintainer> </maintainer>
<maintainer type="person" proxied="yes">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<maintainer type="project" proxied="proxy"> <maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email> <email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name> <name>Proxy Maintainers</name>
</maintainer> </maintainer>
<use>
<flag name="ngspice">Enable circuit simulation</flag>
</use>
<longdescription> <longdescription>
Kicad is an open source (GPL) software for the creation of electronic Kicad is an open source (GPL) software for the creation of electronic
schematic diagrams and printed circuit board artwork. schematic diagrams and printed circuit board artwork.