1 |
commit: 9cf97971322a046a0b99b0115bf16b496b6c8c2f |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 7 07:24:42 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 7 07:24:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf97971 |
7 |
|
8 |
media-libs/raspberrypi-userland-bin: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
media-libs/raspberrypi-userland-bin/Manifest | 1 + |
13 |
.../raspberrypi-userland-bin-1.20170303.ebuild | 48 ++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/raspberrypi-userland-bin/Manifest b/media-libs/raspberrypi-userland-bin/Manifest |
17 |
index c2488b0404b..b20981a8982 100644 |
18 |
--- a/media-libs/raspberrypi-userland-bin/Manifest |
19 |
+++ b/media-libs/raspberrypi-userland-bin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST raspberrypi-firmware-1.20160309.tar.gz 115673896 SHA256 ead0e82b930fdeed9636a6d2d6e07b2512b5f36de3c902da5beaa9328708e181 SHA512 30a6396ef52355c6f6404354645e8d0f5bbf70332b0e1661dfa8ef3456154d07e105d3b7b5bd64efb3e7397fa2fb8c36de1aa78040dc4118060b26949c2ab884 WHIRLPOOL 19a2a28e7dc1403958f12338b5029187bb752f1367f9a46e217b3d91b098960f1cf75efb3610defe3bb2f521559019453cf50a52def3abb9c1ac61419b8ea328 |
22 |
+DIST raspberrypi-firmware-1.20170303.tar.gz 118888867 SHA256 ee8758d7e63c8fea7c8b7b476ff1c09f9591c74349b7751036a78ae5b88eca36 SHA512 cb0015fcaa607039db2ff40cadcfcafd0cf2ec7dd1df47f38414540fb1f86d626648bf6403989007895b0617c13ff4ec233a7b1987986224c09a8209e7732501 WHIRLPOOL 117b7fd58936ee938653fac063d200ae1a83195ebae1eb847fb0036d78932ed052d788fc1311463d2b9a6b5c7bb4c2678caf7ec71d9c147759636e91c532afeb |
23 |
|
24 |
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 |
25 |
new file mode 100644 |
26 |
index 00000000000..f011422bc21 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20170303.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit multilib vcs-snapshot |
36 |
+ |
37 |
+DESCRIPTION="Raspberry Pi userspace tools and libraries" |
38 |
+HOMEPAGE="https://github.com/raspberrypi/firmware" |
39 |
+MY_P="raspberrypi-firmware-${PV}" |
40 |
+SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD GPL-2 raspberrypi-videocore-bin" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~arm -*" |
45 |
+IUSE="+hardfp examples" |
46 |
+ |
47 |
+RDEPEND="!media-libs/raspberrypi-userland" |
48 |
+DEPEND="${DEPEND}" |
49 |
+ |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+RESTRICT="binchecks" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ rm {,hardfp/}opt/vc/LICENCE || die |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ cd $(usex hardfp hardfp/ "")opt/vc || die |
60 |
+ |
61 |
+ insinto /opt/vc |
62 |
+ doins -r include |
63 |
+ into /opt |
64 |
+ dobin bin/* |
65 |
+ dobin sbin/* |
66 |
+ insopts -m 0755 |
67 |
+ insinto "/opt/vc/$(get_libdir)" |
68 |
+ doins -r lib/* |
69 |
+ |
70 |
+ doenvd "${FILESDIR}"/04${PN} |
71 |
+ |
72 |
+ if use examples ; then |
73 |
+ insopts -m 0644 |
74 |
+ insinto /usr/share/doc/${PF}/examples |
75 |
+ doins -r src/hello_pi |
76 |
+ fi |
77 |
+} |