diff options
author | Michael Weber <xmw@gentoo.org> | 2016-03-15 14:25:46 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-03-15 14:48:16 +0100 |
commit | 15d93a8b6117761b2d22facdec67d66e14c90d6d (patch) | |
tree | 9a904c60cd0c7e9594790fc8dbc997736d6cd68e /media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild | |
parent | Merge remote-tracking branch 'remotes/github/pr/1054' (diff) | |
download | gentoo-15d93a8b6117761b2d22facdec67d66e14c90d6d.tar.gz gentoo-15d93a8b6117761b2d22facdec67d66e14c90d6d.tar.bz2 gentoo-15d93a8b6117761b2d22facdec67d66e14c90d6d.zip |
media-libs/raspberrypi-userland-bin: Version bump.
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild')
-rw-r--r-- | media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild new file mode 100644 index 000000000000..036ebbce0156 --- /dev/null +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160309.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib vcs-snapshot + +DESCRIPTION="Raspberry Pi userspace tools and libraries" +HOMEPAGE="https://github.com/raspberrypi/firmware" +MY_P="raspberrypi-firmware-${PV}" +SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD GPL-2 raspberrypi-videocore-bin" +SLOT="0" +KEYWORDS="~arm -*" +IUSE="+hardfp examples" + +RDEPEND="!media-libs/raspberrypi-userland" +DEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +RESTRICT="binchecks" + +src_prepare() { + rm {,hardfp/}opt/vc/LICENCE || die +} + +src_install() { + cd $(usex hardfp hardfp/ "")opt/vc || die + + insinto /opt/vc + doins -r include + into /opt + dobin bin/* + dobin sbin/* + insopts -m 0755 + insinto "/opt/vc/$(get_libdir)" + doins -r lib/* + + doenvd "${FILESDIR}"/04${PN} + + if use examples ; then + insopts -m 0644 + insinto /usr/share/doc/${PF}/examples + doins -r src/hello_pi + fi +} |