commit:     49f570efbf643a5790dc8c6f30d393223ae7f1bb
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Mon Aug 22 06:56:55 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 10:31:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f570ef

sci-electronics/kicad-templates: add 6.0.7

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

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

diff --git a/sci-electronics/kicad-templates/Manifest 
b/sci-electronics/kicad-templates/Manifest
index 711ef36ef48d..5e40866e9bc6 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.6.tar.gz 1057646 BLAKE2B 
3bca2c6557ea8879d53a24a9a97872235c7d6289259936744a098745d0aaca9c2e397d471aa738d0007813c77e8a299c2975393bc0c0e62212be293cd210c049
 SHA512 
b9c4df8b7da9f5e3405a942c3afb09f5c387e311927042889211fb3c3a2a4610a1ccdc94ca2c1e1ae06e351617b15882adf5899f6dbfb392611feb5711e5be92
+DIST kicad-templates-6.0.7.tar.gz 1057666 BLAKE2B 
62b6d6b93cf94c6085c69f349259eeaf9d7fdb9aa9faf631c4ee89de20d9f2c3d70e6afa9ff90ccaf9bbb3ad1877907d375ae6777dda3a841d3e263ea9edf2d6
 SHA512 
c04f2754d2ed8e18fdb054ecaa900a80f8f937096513dbe0a9dbd89c341490657ad673488bf9f3a3d0850861c99524127128b8efb1283e2df3feefcea8806d53

diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.7.ebuild 
b/sci-electronics/kicad-templates/kicad-templates-6.0.7.ebuild
new file mode 100644
index 000000000000..fcdb94bb2f13
--- /dev/null
+++ b/sci-electronics/kicad-templates/kicad-templates-6.0.7.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