diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2022-06-05 21:34:57 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-10 08:51:47 +0100 |
commit | 5362d266cee0108ec8da02843210b3fec0e18a9a (patch) | |
tree | c5423e18a87281efa4700ba0c0edf7aa7e4bb29f /sci-electronics | |
parent | sci-electronics/kicad-footprints: add 6.0.5 (diff) | |
download | gentoo-5362d266cee0108ec8da02843210b3fec0e18a9a.tar.gz gentoo-5362d266cee0108ec8da02843210b3fec0e18a9a.tar.bz2 gentoo-5362d266cee0108ec8da02843210b3fec0e18a9a.zip |
sci-electronics/kicad-packages3d: add 6.0.5
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/kicad-packages3d/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest index 51c6d6059048..85d37fa4f1a2 100644 --- a/sci-electronics/kicad-packages3d/Manifest +++ b/sci-electronics/kicad-packages3d/Manifest @@ -1,2 +1,3 @@ DIST kicad-packages3d-5.1.12.tar.bz2 727191578 BLAKE2B 534ba480de72ffbc8ac0968e5a7b04f2b7ccfb0ef8bb88bdad7e4e6d90536f9ae7bd101316512e1fa2e27b607fd0dd8e53d0729e48368362177b066c6bab3802 SHA512 eb4895e0c46448a74acf10e8c72dee6ea89fee9d53b93c0927d592f4ee944497b642ed575b1b5457ff0db731f654d054d539aff007a17b8d8366c03edb15b6d2 DIST kicad-packages3d-6.0.4.tar.gz 947035647 BLAKE2B dc7bd7b83a4616da1567e3b776bf64ca22bd66795e04cc5f92b3c305fb770c539284cd25c192be8b8c72939b030180f5a045916fafd53d8bb23bb7f53353dd08 SHA512 94f8e5ae414a254c436a14470522b70b5d65c4c6035d487025e52031a90d53e4a7d965e48afcfe3ff839b909f16c8b9f28252c34abeb4ac0ae10448e2621cc45 +DIST kicad-packages3d-6.0.5.tar.gz 947176948 BLAKE2B 55e056b465df03fce369f19209d83c30ff5020332e91a40dcb69765327bb23f2f952f476000821f6c0f30ee0c1b90436692935cd7c5c24ffcd38f934dd7d004c SHA512 27e93374a302afe563fea0910d16e84e5d69b692f0a0da364848efca284f0a9f6f02f607ff3f078a4b2537feb2207a61d13caabe83cb0f81caeec1b009a94e28 diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild new file mode 100644 index 000000000000..1010ac3561ac --- /dev/null +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.5.ebuild @@ -0,0 +1,39 @@ +# 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" |