forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-electronics/kicad-templates: add 6.0.9
Signed-off-by: Matthew Smith <[email protected]>
- Loading branch information
1 parent
e5d1b5e
commit 12977a1
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
sci-electronics/kicad-templates/kicad-templates-6.0.9.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |