diff options
author | JonRB <jon.roadleybattin@gmail.com> | 2021-11-22 14:03:48 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-23 17:15:41 +0000 |
commit | f7333bf8027e178b5019709dfd28fde98fd80525 (patch) | |
tree | 35e406deef59c92ecb6117b3584146a18361cadd /sci-electronics | |
parent | sci-electronics/kicad-symbols: add 6.0.0_rc1 (diff) | |
download | gentoo-f7333bf8027e178b5019709dfd28fde98fd80525.tar.gz gentoo-f7333bf8027e178b5019709dfd28fde98fd80525.tar.bz2 gentoo-f7333bf8027e178b5019709dfd28fde98fd80525.zip |
sci-electronics/kicad-packages3d: add live 9999 version
Signed-off-by: JonRB <jon.roadleybattin@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild new file mode 100644 index 000000000000..2c4be3dd9690 --- /dev/null +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit check-reqs cmake + +DESCRIPTION="Electronic Schematic and PCB design tools 3D package libraries" +HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-packages3D" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-packages3D.git" + inherit git-r3 + # x11-misc-util/macros only required on live ebuilds + LIVE_DEPEND=">=x11-misc/util-macros-1.18" +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" + S="${WORKDIR}/${PN/3d/3D}-${MY_PV}" # check for directory hash + KEYWORDS="~amd64 ~x86 ~arm64" +fi + +IUSE="+occ" +LICENSE="CC-BY-SA-4.0" +SLOT="0" + +DEPEND="" +RDEPEND=">=sci-electronics/kicad-5.99[occ=]" + +CHECKREQS_DISK_BUILD="11G" |