From ed83be66b5da6c5618455c0610d5ab1d3842ca12 Mon Sep 17 00:00:00 2001 From: Zoltan Puskas Date: Mon, 20 Jun 2022 00:50:10 -0700 Subject: sci-electronics/kicad-packages3d: add 6.0.6 Signed-off-by: Zoltan Puskas Signed-off-by: Sam James --- sci-electronics/kicad-packages3d/Manifest | 1 + .../kicad-packages3d/kicad-packages3d-6.0.6.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 sci-electronics/kicad-packages3d/kicad-packages3d-6.0.6.ebuild (limited to 'sci-electronics/kicad-packages3d') diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest index f4a44f352e11..4a9add635f6a 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.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.6.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.6.ebuild new file mode 100644 index 000000000000..1c1cdb3541fd --- /dev/null +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.6.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="6bfd8dfa3adc6ac316b9857977c87f22282c6e24" + 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" -- cgit v1.2.3-65-gdbad