summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2022-03-24 22:21:58 -0700
committerJoonas Niilola <juippis@gentoo.org>2022-03-25 13:03:21 +0200
commiteadcb3990e3296a042a109b2f924f8afaa0acb53 (patch)
tree0558a4dd9eeaa95bfd5596ac61fc750584fc2039
parentsci-electronics/kicad-meta: add 6.0.4 (diff)
downloadgentoo-eadcb3990e3296a042a109b2f924f8afaa0acb53.tar.gz
gentoo-eadcb3990e3296a042a109b2f924f8afaa0acb53.tar.bz2
gentoo-eadcb3990e3296a042a109b2f924f8afaa0acb53.zip
sci-electronics/kicad*: drop 6.0.3 version
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Closes: https://github.com/gentoo/gentoo/pull/24739 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--app-doc/kicad-doc/Manifest1
-rw-r--r--app-doc/kicad-doc/kicad-doc-6.0.3.ebuild62
-rw-r--r--sci-electronics/kicad-footprints/Manifest1
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-6.0.3.ebuild36
-rw-r--r--sci-electronics/kicad-meta/kicad-meta-6.0.3.ebuild30
-rw-r--r--sci-electronics/kicad-packages3d/Manifest1
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild37
-rw-r--r--sci-electronics/kicad-symbols/Manifest1
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-6.0.3.ebuild32
-rw-r--r--sci-electronics/kicad-templates/Manifest1
-rw-r--r--sci-electronics/kicad-templates/kicad-templates-6.0.3.ebuild28
-rw-r--r--sci-electronics/kicad/Manifest1
-rw-r--r--sci-electronics/kicad/kicad-6.0.3.ebuild174
13 files changed, 0 insertions, 405 deletions
diff --git a/app-doc/kicad-doc/Manifest b/app-doc/kicad-doc/Manifest
index 882b63caf787..1aec908fad0c 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.3.tar.gz 78919608 BLAKE2B 32330e452a2284e41090bda0c01723795c719a4affb6f34dbc2f5f3bf4c66e03acb4af1c2fd1404faee731f2507eed167fb771adbb366061e5a1ee38f3301fd6 SHA512 29b5ab6472529aebbb9576014453d5141597a7afce81811f43b89e14ce41fd1d831901d0fcad548ff58e8da0cf37283f43bdce9d8838d89bb1bdfce4046ffb84
DIST kicad-doc-6.0.4.tar.gz 78919464 BLAKE2B cd8d321c3ae854df4edf9346fb809be933e842c9fff1679a2ec195dbedaea1acb58857eee2dae52a8c94b2af082d911e664089b4df6a14dc839887c34dfb6fb4 SHA512 cc8934e6b765c325b1fabc616f0eee180f0d13386d0bd4d995910aa30e8111bf6c486cc26875bfd9316e07371b73e9b403b14efdc7b20ecdefabb47afe0e296d
diff --git a/app-doc/kicad-doc/kicad-doc-6.0.3.ebuild b/app-doc/kicad-doc/kicad-doc-6.0.3.ebuild
deleted file mode 100644
index 51164ea1dde5..000000000000
--- a/app-doc/kicad-doc/kicad-doc-6.0.3.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 13fc1a2e46e0..ce087e601886 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.3.tar.gz 31577483 BLAKE2B d2efa7679281d31ff060562bb20fa5d7ef6f7e2067cd7dfd7b967d4790c0bcc0c30fc16c9ac802af29d9e94bf81ae4acdd509f084a12dc155a5f970aa1dbe1b4 SHA512 cd8e7de2cea936c98210ae3e5503a4b43ea937bd8ca9cc7240fe8113dd1206ef93ece41324f1557acbded5a22f2e02030594d941bdba3f8014eaf2397ca1080c
DIST kicad-footprints-6.0.4.tar.gz 31577380 BLAKE2B af29460794becf92f5b08494c9d7b66eb56483fcdcf4e4f526cb4f7bad5833d87bfca810bbede9c72778d11bd430b26fd0b961ece8877d795d682b63122a3c8d SHA512 15d62bdb692c236d43c979a92f49ecad04e8de3a04c74b30671a309f160347bbbb3416b95fb02db1404f9e88f16c25a71467039fc83d6889edc2a3a3e3220bf8
diff --git a/sci-electronics/kicad-footprints/kicad-footprints-6.0.3.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-6.0.3.ebuild
deleted file mode 100644
index e1268b9afd0d..000000000000
--- a/sci-electronics/kicad-footprints/kicad-footprints-6.0.3.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.3.ebuild b/sci-electronics/kicad-meta/kicad-meta-6.0.3.ebuild
deleted file mode 100644
index 9b332cea06f2..000000000000
--- a/sci-electronics/kicad-meta/kicad-meta-6.0.3.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 daac4c9403d6..51c6d6059048 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.3.tar.gz 947004287 BLAKE2B 4803d55400125456d73ac80609519e825e26f8f7b281a8afd8314321706fca2d4152076676fb65ad02d0e2b35456ada415d22a88113f7a007e701ae4227fbcd0 SHA512 b5e7255b5e4b5701891353af8ea73031fafc56604667cfd70dc6ed995c506cbc47d07d3244ac238fe22844177ad983bd3dd555a3d6216e9085d26e15789add5c
DIST kicad-packages3d-6.0.4.tar.gz 947035647 BLAKE2B dc7bd7b83a4616da1567e3b776bf64ca22bd66795e04cc5f92b3c305fb770c539284cd25c192be8b8c72939b030180f5a045916fafd53d8bb23bb7f53353dd08 SHA512 94f8e5ae414a254c436a14470522b70b5d65c4c6035d487025e52031a90d53e4a7d965e48afcfe3ff839b909f16c8b9f28252c34abeb4ac0ae10448e2621cc45
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild
deleted file mode 100644
index aea8eca4a26f..000000000000
--- a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild
+++ /dev/null
@@ -1,37 +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}"
- 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}-6ff98426fd51d53c55bc48025d66d3d0b0c5df92"
-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 85d2cfe53ef3..9fbb16d5aa61 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.3.tar.gz 4818563 BLAKE2B 81bc5026b8c388801da844bc0e52e7a6f9a90cf5eb46da85fcaaf61aa2507ba73760f16bfcd9e32af64c51bde66f51fcb4f8daebec3d17d246bc651f1447bc59 SHA512 f94f8e4953b70a01b5a8b61008b26229b2463d0b0355c7cd2715d9c96d4a02fde5ad278c9e9620f16553b9518db8ee42ce38500bef351c78084a837ba685f18a
DIST kicad-symbols-6.0.4.tar.gz 4818571 BLAKE2B 30bc0e05f12461feaf12842cffc3a7a9033c70e5e8b6ccffe14aec399f7de5e0fd8aa84200fa2a7d4954343becb8a0fbc547e242b35bd68fb632245ab91985de SHA512 82e399467c4e97a001db96fe60ddcd79a9afb9a292d5d2649d833bc4ba88374378da054edd1c2172f7d8141b9cf06adecef027a2ddc8f33b2707cb9ec5406a5d
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-6.0.3.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-6.0.3.ebuild
deleted file mode 100644
index 02943f2ff696..000000000000
--- a/sci-electronics/kicad-symbols/kicad-symbols-6.0.3.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 28a9d1a92db3..8909795e76fa 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.3.tar.gz 2248725 BLAKE2B c9643cc9465e1c669df965afddc087621a9218f0e723146cc40c3756d1a5577ca026f988600e4b7c63c9f9c5bd36b3a17eaea67849d5cc0530094f775f5b85f6 SHA512 d575f03b8bcd8ddb31dfbf84a40f90d00690ac0d1eadf2f564acb230abc93f85bd04a26e2540a128008e88a30ae296fe15dec4b2ca496e266f71a56d5e859911
DIST kicad-templates-6.0.4.tar.gz 2248753 BLAKE2B b65c4f61f86dd7cee6b7dbf2df579cda15e3258bd67f010afe910dc0fe5801c95ef0682fedd88cad8a3602035b69dff117dd8b8ce008fb066488e7b7281e60fe SHA512 a5f5df986002246a230c3fad4ae497a325bff402087ce2f65fbeaaae35861b50426bf255b2adc9c6f1a006aa88ac1d026bd07c9e88b87a75aa43d86feb17d7e7
diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.3.ebuild b/sci-electronics/kicad-templates/kicad-templates-6.0.3.ebuild
deleted file mode 100644
index fcdb94bb2f13..000000000000
--- a/sci-electronics/kicad-templates/kicad-templates-6.0.3.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 9177dbdc718a..43578893eef4 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.3.tar.gz 45069419 BLAKE2B 78a0e3a41ea4744849345e3a5ed172812c1795d9dee8fc57f1ffd29c82e0ee1a87a0ca52f42c5cef6ff183f89c139238be604be54609a5c50c9e0e64e6570bc2 SHA512 dd76fd8ff8e56c1308869e4d57d8a23c737e5aae36ffef4058aa5d3e6d4c464ed767de629b9de3f51e1170d5193f21b6f958eebd21ff524391ff6358bb813f66
DIST kicad-6.0.4.tar.gz 45068438 BLAKE2B d77a68de7baa472a05666159183d5d528461624dbe791f3e7b00dad6292c8134ec371c2c21cb56e01a76738dc239284188b1bee7202b8eb14cf932bb7c570169 SHA512 3134aee924bf0aab6f12a7e9663d081ec038a2ccb2e6854be8ad8b1f71b36a9f286938101adb4ca0fa56487eecffd42691bb8737113bcaffcc56a2f68f6a9908
diff --git a/sci-electronics/kicad/kicad-6.0.3.ebuild b/sci-electronics/kicad/kicad-6.0.3.ebuild
deleted file mode 100644
index 2d3156fe68e9..000000000000
--- a/sci-electronics/kicad/kicad-6.0.3.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,9} )
-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() {
- 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
-}