1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Raspberry Pi userspace tools and libraries"
7 HOMEPAGE="https://github.com/raspberrypi/firmware"
8 MY_P="raspberrypi-firmware-${PV}"
9 SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
11 LICENSE="BSD GPL-2 raspberrypi-videocore-bin"
14 IUSE="+hardfp examples"
16 RDEPEND="!media-libs/raspberrypi-userland"
19 S="${WORKDIR}/firmware-${PV}"
24 cd $(usex hardfp hardfp/ "")opt/vc || die
34 doenvd "${FILESDIR}"/04${PN}
36 if use examples ; then
38 insinto /usr/share/doc/${PF}/examples