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

sci-electronics/kicad-footprints: 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-footprints/Manifest          |  1 +
 .../kicad-footprints/kicad-footprints-6.0.7.ebuild | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sci-electronics/kicad-footprints/Manifest 
b/sci-electronics/kicad-footprints/Manifest
index b80b7d2eb0a3..ea653a2182a4 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.6.tar.gz 31647789 BLAKE2B 
3af7027987b25c4a3ee19925acaa539cea643656e1662f0b80ec76c807aca9ef7433228fc88cdd0c34b80e7bbb886abd5c11765983e9adc5b347ce01bd4b51c4
 SHA512 
6d93a90bfc0b246c70b336aa9265a051a33d8b490a81271fb85ab73cd19184a031f3429ce8ae9e1650ece475a30f0f283c43c5bb2d1f427b4129d4ed61480ac0
+DIST kicad-footprints-6.0.7.tar.gz 31657956 BLAKE2B 
127ac81c83841919903b300af89c2126e1f53ff1c03d6dcd2466eac8d4733da4f923831e24aa43fca2b5c6d9ee4389bd67f0bd2b4d300adb5356e261b14e897e
 SHA512 
e0959846e057df46e38385d1fe71895930435fc51ad03bbc893481264d969d9739967b069855b59341388fec5458a4f2c71c527b7af7357437c5606c91f5436d

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

Reply via email to