summaryrefslogtreecommitdiff
path: root/media-libs/raspberrypi-userland-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/raspberrypi-userland-bin
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/raspberrypi-userland-bin')
-rw-r--r--media-libs/raspberrypi-userland-bin/Manifest5
-rw-r--r--media-libs/raspberrypi-userland-bin/files/04raspberrypi-userland-bin1
-rw-r--r--media-libs/raspberrypi-userland-bin/metadata.xml14
-rw-r--r--media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20170303.ebuild48
4 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/raspberrypi-userland-bin/Manifest b/media-libs/raspberrypi-userland-bin/Manifest
new file mode 100644
index 000000000000..bfcb4283b0a9
--- /dev/null
+++ b/media-libs/raspberrypi-userland-bin/Manifest
@@ -0,0 +1,5 @@
+AUX 04raspberrypi-userland-bin 21 SHA256 a9f8b82c587d601984404225c300399df7922f0c1a74dd4bd4ab32f498678668 SHA512 15fc252a183d45f0d80cc27edc93c40a7b577abed3e2f664c8bf635178e73875245835e770b82fda0e983c7c5878975ffe3008a937fbb7656fc01860c2219854 WHIRLPOOL 164a35407574a2d162a867720716afc6f15fdd2f466af6914d0eca5b97656dd09e02a7932c92e4c32af356a1a6d17c036d026b5cd3cd276595626ff4f44390a8
+DIST raspberrypi-firmware-1.20170303.tar.gz 118888867 SHA256 ee8758d7e63c8fea7c8b7b476ff1c09f9591c74349b7751036a78ae5b88eca36 SHA512 cb0015fcaa607039db2ff40cadcfcafd0cf2ec7dd1df47f38414540fb1f86d626648bf6403989007895b0617c13ff4ec233a7b1987986224c09a8209e7732501 WHIRLPOOL 117b7fd58936ee938653fac063d200ae1a83195ebae1eb847fb0036d78932ed052d788fc1311463d2b9a6b5c7bb4c2678caf7ec71d9c147759636e91c532afeb
+EBUILD raspberrypi-userland-bin-1.20170303.ebuild 983 SHA256 0b53803f33ff9fc21389eb0649564854523b0e125e4983b551291bfa818ae8b8 SHA512 56de8b8abc4e319264c95a7a1837458b71a0ca8b5d0ef23be1422440916d4ef898f6630aa93e4a738e8619a0f9c77562e124101ad2e78421c012395e5a01b657 WHIRLPOOL c9b625270111a731cd0e313a6bb33b7248155969bc3b52fdb29e85263bbbdd822d053f564347b281f67a40a3d75a6fbae0e049a580124b620d86524620698a2f
+MISC ChangeLog 798 SHA256 9e24532f637e26537ba38af5ee16c6e0afb316a7b0af95a425be04a9a76dc7eb SHA512 bf452338ce789650bc9273e413d7f4caccb5ad58b6aa15760cc56fe891ecef5be2f17a6ab0057484322af87bd3560330676bf8b112d24e9acf80c0250fea8969 WHIRLPOOL dcc5854f2551867a46be55e654322d4b39210285edfe525b41c97780b6c36ec1d84bcf664a67c681b4d1bebbcdaf8550d338611af382dbb3270a14e4a805e6ef
+MISC metadata.xml 393 SHA256 4fba909ab06ec8b7de4765a218390dbae736f9df067f1c3e376cafd430101f48 SHA512 85fb4475eb586e9a314516cb0a4d1dd850c905b7d235112c67a8119dcac1dc32131c87dec0ed6f5a305fb19c8a457fa24d9e4fa8dd347adcf40b827c0caad04d WHIRLPOOL cb03d54aac1517764bf5267e075c93eff6db3b9a25808fbf542338ba7ff22d95108b38c884a1f55c431eb977e599e0351d14cbc731324fc106b151ff3cf8bb3b
diff --git a/media-libs/raspberrypi-userland-bin/files/04raspberrypi-userland-bin b/media-libs/raspberrypi-userland-bin/files/04raspberrypi-userland-bin
new file mode 100644
index 000000000000..d4d8fad4cc83
--- /dev/null
+++ b/media-libs/raspberrypi-userland-bin/files/04raspberrypi-userland-bin
@@ -0,0 +1 @@
+LDPATH='/opt/vc/lib'
diff --git a/media-libs/raspberrypi-userland-bin/metadata.xml b/media-libs/raspberrypi-userland-bin/metadata.xml
new file mode 100644
index 000000000000..4bc28a966839
--- /dev/null
+++ b/media-libs/raspberrypi-userland-bin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <use>
+ <flag name="hardfp">Use armv6 hardfp ABI</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">raspberrypi/firmware</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20170303.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20170303.ebuild
new file mode 100644
index 000000000000..f011422bc21c
--- /dev/null
+++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20170303.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}