commit:     91c37d79cb3fe07d930a7be230d0867d294354eb
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Mon Jun  6 04:38:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 07:51:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c37d79

sci-electronics/kicad-templates: add 6.0.5

Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/kicad-templates/Manifest           |  1 +
 .../kicad-templates/kicad-templates-6.0.5.ebuild   | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/sci-electronics/kicad-templates/Manifest 
b/sci-electronics/kicad-templates/Manifest
index 8909795e76fa..3b516d08837c 100644
--- a/sci-electronics/kicad-templates/Manifest
+++ b/sci-electronics/kicad-templates/Manifest
@@ -1,2 +1,3 @@
 DIST kicad-templates-5.1.12.tar.bz2 1552173 BLAKE2B 
51791729e049aa835f15b80f783d07c099dd177783b1a78209e7c7db709a3b0a18bd22572227ab5193d4da955796bc4c78f502fdedd275f379f84fa49108a324
 SHA512 
4f44816fa78048c0db93ecd10ae980236bc5ef1ed5170270ac761dd5fc32d08a5c8bf733837e6dceecf736f75fa09780326af813de04cbd69345cf376815d430
 DIST kicad-templates-6.0.4.tar.gz 2248753 BLAKE2B 
b65c4f61f86dd7cee6b7dbf2df579cda15e3258bd67f010afe910dc0fe5801c95ef0682fedd88cad8a3602035b69dff117dd8b8ce008fb066488e7b7281e60fe
 SHA512 
a5f5df986002246a230c3fad4ae497a325bff402087ce2f65fbeaaae35861b50426bf255b2adc9c6f1a006aa88ac1d026bd07c9e88b87a75aa43d86feb17d7e7
+DIST kicad-templates-6.0.5.tar.gz 2248749 BLAKE2B 
f5bc5b87cd757566d095b216bb3f00278681ec8118fcd0e37d48d327cf4b3c25437c060cd5a375d27f3c635d9c8bda24bcba6f1ed84ff46f9d4d3edac80c4ff4
 SHA512 
47fa6a823f6a2b7f91e0775503443e43d940bcb3582d1e7acf00e9f55815588430d396ebbcadcb177a561a69781439bc7e834177af9a24037194c734ef388ec2

diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild 
b/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild
new file mode 100644
index 000000000000..fcdb94bb2f13
--- /dev/null
+++ b/sci-electronics/kicad-templates/kicad-templates-6.0.5.ebuild
@@ -0,0 +1,28 @@
+# 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 project templates"
+HOMEPAGE="https://github.com/kicad/kicad-templates";
+if [[ ${PV} == 9999 ]]; then
+       EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.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"
+
+RDEPEND=">=sci-electronics/kicad-6.0.0"

Reply via email to