1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Raspberry Pi (all versions) kernel and modules"
9 HOMEPAGE="https://github.com/raspberrypi/firmware"
10 LICENSE="GPL-2 raspberrypi-videocore-bin"
12 RESTRICT="binchecks strip"
14 RDEPEND="sys-boot/raspberrypi-firmware"
16 if [[ "${PV}" == 9999 ]]; then
18 EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
19 EGIT_CLONE_TYPE="shallow"
21 [[ "$(ver_cut 4)" == 'p' ]] || die "Unsupported version format, tweak the ebuild."
22 MY_PV="1.$(ver_cut 5)"
23 SRC_URI="https://github.com/raspberrypi/firmware/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
24 S="${WORKDIR}/firmware-${MY_PV}"