commit:     c29d16e037322ab0e3642b6783b4a620f92ee86f
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Sat Oct  8 01:46:49 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Nov  5 09:01:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29d16e0

sci-electronics/kicad-packages3d: add 6.0.8

Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 sci-electronics/kicad-packages3d/Manifest          |  1 +
 .../kicad-packages3d/kicad-packages3d-6.0.8.ebuild | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sci-electronics/kicad-packages3d/Manifest 
b/sci-electronics/kicad-packages3d/Manifest
index ba9c90df4b10..5ca8e8b38a72 100644
--- a/sci-electronics/kicad-packages3d/Manifest
+++ b/sci-electronics/kicad-packages3d/Manifest
@@ -1,3 +1,4 @@
 DIST kicad-packages3d-5.1.12.tar.bz2 727191578 BLAKE2B 
534ba480de72ffbc8ac0968e5a7b04f2b7ccfb0ef8bb88bdad7e4e6d90536f9ae7bd101316512e1fa2e27b607fd0dd8e53d0729e48368362177b066c6bab3802
 SHA512 
eb4895e0c46448a74acf10e8c72dee6ea89fee9d53b93c0927d592f4ee944497b642ed575b1b5457ff0db731f654d054d539aff007a17b8d8366c03edb15b6d2
 DIST kicad-packages3d-6.0.6.tar.gz 951710688 BLAKE2B 
16176514519897167807b9c2d6659b16d38574484bc09fd871c97ea943531f8726a8173b5a3d143818397eb1086db0d6bda43add357c95e92bffac05560ec9f2
 SHA512 
f8231c4ce508eb379ceb397cf6e9f963411a0a5cee5d1fa9a9e929c964662d391ab12555c4d3e8bca1b9507338571f3036af7f24e6a4d093f8f2aa3ba93e9345
 DIST kicad-packages3d-6.0.7.tar.gz 952830693 BLAKE2B 
0eec72303c3146f3b11092a2e7129e53b68fefa4a869e9e87302aa04e092d96514f12a2344b8964a13701a1d7198ad39848b5496c81ae0090ce41670b4a7618f
 SHA512 
cbbeaa85df3e2b9a8c8616994607ff446b8d97dc039562b9c3823ad8cf2efabc02eb49f1a34b6ac3545db21dfbb264d79d05f2edeb2c79a13fd1093999f331f9
+DIST kicad-packages3d-6.0.8.tar.gz 953204306 BLAKE2B 
268e20b3e89c70ad78604cb6427a28d488f634148a6dd1065c28ab8c7e73c9bd5ce166a55d1d765f0b4cc2a987602cfa08c9707d2ba3f0ccebe7e8c928916530
 SHA512 
f0027ea4e89731fa9da9a6bc9f43ff963fefb9662bd04b78c86c39fa423563cb638a1f37c1a8f0d44345092b69c7b450bd10ad2a8e79243af8a6ebd6549aee17

diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild 
b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild
new file mode 100644
index 000000000000..5646b83a340a
--- /dev/null
+++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild
@@ -0,0 +1,36 @@
+# 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/kicad-packages3D/-/archive/${MY_PV}/kicad-packages3D-${MY_PV}.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}/${PN/3d/3D}-${MY_PV}"
+
+       if [[ ${PV} != *_rc* ]] ; then
+               KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+       fi
+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"

Reply via email to