diff options
Diffstat (limited to 'sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild')
-rw-r--r-- | sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild new file mode 100644 index 000000000000..5646b83a340a --- /dev/null +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +else + MY_PV="${PV/_rc/-rc}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/${MY_PV}/kicad-packages3D-${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN/3d/3D}-${MY_PV}" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + fi +fi + +IUSE="+occ" +LICENSE="CC-BY-SA-4.0" +SLOT="0" + +RDEPEND=">=sci-electronics/kicad-6.0.0[occ=]" + +if [[ ${PV} == 9999 ]] ; then + # x11-misc-util/macros only required on live ebuilds + BDEPEND=">=x11-misc/util-macros-1.18" +fi + +CHECKREQS_DISK_BUILD="11G" |