commit: 93226a1e1060f4495f089cfdba99c78267edf039 Author: Michael Weber <michael <AT> xmw <DOT> de> AuthorDate: Fri Apr 24 06:24:36 2015 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Fri Apr 24 06:24:36 2015 +0000 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=93226a1e
Move installation to /usr, fix some include paths Package-Manager: portage-2.2.18 Manifest-Sign-Key: 62EEF090 media-libs/raspberrypi-userland-bin/ChangeLog | 6 +++ ...aspberrypi-userland-bin-1_pre20150421-r1.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-libs/raspberrypi-userland-bin/ChangeLog b/media-libs/raspberrypi-userland-bin/ChangeLog index 2d29422..71c5293 100644 --- a/media-libs/raspberrypi-userland-bin/ChangeLog +++ b/media-libs/raspberrypi-userland-bin/ChangeLog @@ -1,3 +1,9 @@ +*raspberrypi-userland-bin-1_pre20150421-r1 (24 Apr 2015) + + 24 Apr 2015; Michael Weber <x...@gentoo.org> + +raspberrypi-userland-bin-1_pre20150421-r1.ebuild: + Move installation to /usr, fix some include paths + 23 Apr 2015; Michael Weber <x...@gentoo.org> raspberrypi-userland-bin-1_pre20150421.ebuild: Version bump diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r1.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r1.ebuild new file mode 100644 index 0000000..2d541d0 --- /dev/null +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit multilib vcs-snapshot + +DESCRIPTION="Raspberry Pi userspace tools and libraries" +HOMEPAGE="https://github.com/raspberrypi/firmware" +MY_COMMIT="6cc27e02dd" +SRC_URI="https://github.com/raspberrypi/firmware/tarball/${MY_COMMIT} -> + raspberrypi-firmware-${MY_COMMIT}.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}/raspberrypi-firmware-${MY_COMMIT} + +RESTRICT="binchecks" + +src_prepare() { + cd $(usex hardfp hardfp/ "")opt/vc || die + + sed -e '/#include/s:"vcos_platform:"interface/vcos/pthreads/vcos_platform:' \ + -i include/interface/vcos/*.h || die +} + +src_install() { + cd $(usex hardfp hardfp/ "")opt/vc || die + + insinto /usr/include + doins -r include/* + insopts -m 0755 + insinto /usr/bin + doins bin/* + insinto /usr/sbin + doins sbin/* + insinto "/usr/$(get_libdir)" + doins -r lib/* + + insopts -m 0644 + insinto /usr/share/doc/${PF}/examples + use examples && doins -r src/hello_pi +}