1 |
commit: aa1cf9ffa3b13805d1eaef1727161b98d707e00d |
2 |
Author: JonRB <jon.roadleybattin <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Nov 22 19:03:15 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 17:15:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1cf9ff |
7 |
|
8 |
sci-electronics/kicad-symbols: add live 9999 version |
9 |
|
10 |
Signed-off-by: JonRB <jon.roadleybattin <AT> gmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../kicad-symbols/kicad-symbols-9999.ebuild | 29 ++++++++++++++++++++++ |
14 |
1 file changed, 29 insertions(+) |
15 |
|
16 |
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..35b4c0a47f9d |
19 |
--- /dev/null |
20 |
+++ b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild |
21 |
@@ -0,0 +1,29 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit cmake |
28 |
+ |
29 |
+DESCRIPTION="Electronic Schematic and PCB design tools symbol libraries" |
30 |
+HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-symbols" |
31 |
+ |
32 |
+if [[ ${PV} == 9999 ]]; then |
33 |
+ EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.git" |
34 |
+ inherit git-r3 |
35 |
+ # x11-misc-util/macros only required on live ebuilds |
36 |
+ LIVE_DEPEND=">=x11-misc/util-macros-1.18" |
37 |
+else |
38 |
+ MY_PV="${PV/_rc/-rc}" |
39 |
+ MY_P="${PN}-${MY_PV}" |
40 |
+ SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" |
41 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
42 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
43 |
+fi |
44 |
+ |
45 |
+LICENSE="CC-BY-SA-4.0" |
46 |
+SLOT="0" |
47 |
+IUSE="" |
48 |
+ |
49 |
+DEPEND="" |
50 |
+RDEPEND=">=sci-electronics/kicad-5.99" |