summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2022-03-24 20:56:24 -0700
committerJoonas Niilola <juippis@gentoo.org>2022-03-25 13:03:20 +0200
commiteef9c4639baefd085b69baa754ef4cd8d327c7d3 (patch)
tree572f319f3209188d5aea41a59f2c2af3ddc767c6 /sci-electronics
parentsci-electronics/kicad: add 6.0.4 (diff)
downloadgentoo-eef9c4639baefd085b69baa754ef4cd8d327c7d3.tar.gz
gentoo-eef9c4639baefd085b69baa754ef4cd8d327c7d3.tar.bz2
gentoo-eef9c4639baefd085b69baa754ef4cd8d327c7d3.zip
sci-electronics/kicad-footprints: 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')
-rw-r--r--sci-electronics/kicad-footprints/Manifest1
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-6.0.4.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-electronics/kicad-footprints/Manifest b/sci-electronics/kicad-footprints/Manifest
index 0955fd18139f..13fc1a2e46e0 100644
--- a/sci-electronics/kicad-footprints/Manifest
+++ b/sci-electronics/kicad-footprints/Manifest
@@ -1,2 +1,3 @@
DIST kicad-footprints-5.1.12.tar.bz2 3382783 BLAKE2B 6f7725bebd6099d86780ed2582aacfb3abff4db6065a6a17fcd7631782a0c2e1e8a23064f80cd95c79bbaca8da52003f01fce7e398e95596e45f15b144eeef7f SHA512 e717886dc742f37b626226065953a36829b50f9bf203efe1dbeab41d4dbe3a898bd65fbde9fa059ea9374ea92905faeb0ccd19dfb1a62f2d6a445c07f90b89a9
DIST kicad-footprints-6.0.3.tar.gz 31577483 BLAKE2B d2efa7679281d31ff060562bb20fa5d7ef6f7e2067cd7dfd7b967d4790c0bcc0c30fc16c9ac802af29d9e94bf81ae4acdd509f084a12dc155a5f970aa1dbe1b4 SHA512 cd8e7de2cea936c98210ae3e5503a4b43ea937bd8ca9cc7240fe8113dd1206ef93ece41324f1557acbded5a22f2e02030594d941bdba3f8014eaf2397ca1080c
+DIST kicad-footprints-6.0.4.tar.gz 31577380 BLAKE2B af29460794becf92f5b08494c9d7b66eb56483fcdcf4e4f526cb4f7bad5833d87bfca810bbede9c72778d11bd430b26fd0b961ece8877d795d682b63122a3c8d SHA512 15d62bdb692c236d43c979a92f49ecad04e8de3a04c74b30671a309f160347bbbb3416b95fb02db1404f9e88f16c25a71467039fc83d6889edc2a3a3e3220bf8
diff --git a/sci-electronics/kicad-footprints/kicad-footprints-6.0.4.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-6.0.4.ebuild
new file mode 100644
index 000000000000..e1268b9afd0d
--- /dev/null
+++ b/sci-electronics/kicad-footprints/kicad-footprints-6.0.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Electronic Schematic and PCB design tools footprint libraries"
+HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-footprints"
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-footprints.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}-${MY_PV}"
+fi
+
+LICENSE="CC-BY-SA-4.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=sci-electronics/kicad-6.0.0"
+
+if [[ ${PV} == 9999 ]] ; then
+# x11-misc-util/macros only required on live ebuilds
+ BDEPEND+=" >=x11-misc/util-macros-1.18"
+fi