summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2022-03-18 16:59:42 -0700
committerSam James <sam@gentoo.org>2022-03-21 23:41:31 +0000
commit71837dce86cc3e5ea904a8872eb27372fbe4398f (patch)
tree1c666e67d757d230a74100cce1c5810ae41cdd6c /sci-electronics
parentsci-electronics/kicad-footprints: Bump to 6.0.3 (diff)
downloadgentoo-71837dce86cc3e5ea904a8872eb27372fbe4398f.tar.gz
gentoo-71837dce86cc3e5ea904a8872eb27372fbe4398f.tar.bz2
gentoo-71837dce86cc3e5ea904a8872eb27372fbe4398f.zip
sci-electronics/kicad-packages3d: Bump to 6.0.3
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/Manifest1
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/Manifest b/sci-electronics/kicad-packages3d/Manifest
index ecd7c36df596..dfe874e3576c 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.2.tar.gz 946918858 BLAKE2B 36fbb4e7acd4dba9644a700c2161d4c4bdb74b34e1ff53f458e003d69af6af2df1b2e48175cab0b3a0c1b6c7cb70c3d7b6f34f2d269b35901dd73763badb8f7f SHA512 10ca7da72f0da13affa1590c8f216aed7607a3fecc1073d4c3e14d986423563962835d4a097fb60367436dc70ffe9b30fcc513899d9f591761a935aa2af568cf
+DIST kicad-packages3d-6.0.3.tar.gz 947004287 BLAKE2B 4803d55400125456d73ac80609519e825e26f8f7b281a8afd8314321706fca2d4152076676fb65ad02d0e2b35456ada415d22a88113f7a007e701ae4227fbcd0 SHA512 b5e7255b5e4b5701891353af8ea73031fafc56604667cfd70dc6ed995c506cbc47d07d3244ac238fe22844177ad983bd3dd555a3d6216e9085d26e15789add5c
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.ebuild
new file mode 100644
index 000000000000..aea8eca4a26f
--- /dev/null
+++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.3.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"