31 lines
735 B
Bash
31 lines
735 B
Bash
|
# Copyright 1999-2023 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
inherit cmake
|
||
|
|
||
|
DESCRIPTION="Electronic Schematic and PCB design tools footprint libraries"
|
||
|
HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-footprints"
|
||
|
|
||
|
if [[ ${PV} == 9999 ]]; then
|
||
|
EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-footprints.git"
|
||
|
inherit git-r3
|
||
|
else
|
||
|
SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||
|
|
||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||
|
fi
|
||
|
|
||
|
LICENSE="CC-BY-SA-4.0"
|
||
|
SLOT="0"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND=">=sci-electronics/kicad-7.0.0"
|
||
|
|
||
|
if [[ ${PV} == 9999 ]] ; then
|
||
|
# x11-misc-util/macros only required on live ebuilds
|
||
|
BDEPEND+=" >=x11-misc/util-macros-1.18"
|
||
|
fi
|