commit: 3e4eff973b67436a6d227724008ff6435b6d42e4 Author: JonRB <jon.roadleybattin <AT> gmail <DOT> com> AuthorDate: Mon Nov 22 19:02:47 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Nov 23 17:15:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4eff97
sci-electronics/kicad-templates: add live 9999 version Signed-off-by: JonRB <jon.roadleybattin <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../kicad-templates/kicad-templates-9999.ebuild | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild new file mode 100644 index 000000000000..348280a3c4d3 --- /dev/null +++ b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="CC-BY-SA-4.0" +SLOT="0" + +RDEPEND=">=sci-electronics/kicad-5.99"
