summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2022-03-24 21:57:58 -0700
committerJoonas Niilola <juippis@gentoo.org>2022-03-25 13:03:21 +0200
commite93aca109c15a0dbe35addeda14f26552ec95477 (patch)
treecda037c8f0b636848dc092e88f8459a567dcafe0 /sci-electronics/kicad-packages3d
parentsci-electronics/kicad-footprints: add 6.0.4 (diff)
downloadgentoo-e93aca109c15a0dbe35addeda14f26552ec95477.tar.gz
gentoo-e93aca109c15a0dbe35addeda14f26552ec95477.tar.bz2
gentoo-e93aca109c15a0dbe35addeda14f26552ec95477.zip
sci-electronics/kicad-packages3d: add 6.0.4
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-electronics/kicad-packages3d')
-rw-r--r--sci-electronics/kicad-packages3d/Manifest1
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-6.0.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest
index dfd27f2fe87c..daac4c9403d6 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.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.4.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.4.ebuild
new file mode 100644
index 000000000000..aea8eca4a26f
--- /dev/null
+++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.4.ebuild
@@ -0,0 +1,37 @@
+# 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"