Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: media-libs/raspberrypi-userland-bin/
Date: Fri, 19 Feb 2016 07:27:39
Message-Id: 1455866809.9272287e71c2994da46afd55913d5919eac1ee45.xmw@gentoo
1 commit: 9272287e71c2994da46afd55913d5919eac1ee45
2 Author: Michael Weber <michael <AT> xmw <DOT> de>
3 AuthorDate: Fri Feb 19 07:26:49 2016 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 07:26:49 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=9272287e
7
8 media-libs/raspberrypi-userland-bin: Version bump in preparation for bug 521920.
9
10 Package-Manager: portage-2.2.27
11 Manifest-Sign-Key: 0x71D573A82F434065
12
13 media-libs/raspberrypi-userland-bin/Manifest | 11 +----
14 .../raspberrypi-userland-bin-1.20160209.ebuild | 49 ++++++++++++++++++++
15 ...aspberrypi-userland-bin-1_pre20150421-r2.ebuild | 54 ++++++++++++++++++++++
16 3 files changed, 104 insertions(+), 10 deletions(-)
17
18 diff --git a/media-libs/raspberrypi-userland-bin/Manifest b/media-libs/raspberrypi-userland-bin/Manifest
19 index e27c92e..9c28ed5 100644
20 --- a/media-libs/raspberrypi-userland-bin/Manifest
21 +++ b/media-libs/raspberrypi-userland-bin/Manifest
22 @@ -1,13 +1,4 @@
23 ------BEGIN PGP SIGNED MESSAGE-----
24 -Hash: SHA256
25 -
26 +DIST raspberrypi-firmware-1.20160209.tar.gz 114792438 SHA256 ca6a88db72e90ef821b8ca7755bbee9c1d5bdb9a621a45eb029af195d2d29751 SHA512 281092c11d422d821e5e2b0479c3b8f891f8df66cfbf931992902d759c99ed40cbb2d9fada1f944372e5bcd8af69784739e79e9912db3482892b10bf668611f2 WHIRLPOOL 81974a53562ee91544d7a01dc9f4f4173a6e882891f8cf744b700162ddd8f8607b1cfcbbde04cafe2bcea47489f9ea4fd8840adf776e806bef0dba574448e76e
27 DIST raspberrypi-firmware-6cc27e02dd.tar.gz 112272395 SHA256 c94f28a6c952c87d85bf04ac3f671781f83c4f90b793f8d00a093df34c23f8a7 SHA512 9f77031232d62f450e8db321fdddac52d276f7a560cdd1fb5e9cab57d4f096ff06f7f228420fb78b25382be493f438b6aad6efd8aeb1cec8605f24ff6dcab3c3 WHIRLPOOL 94623a3ae5394435c2317c8fb1716eaa7247b6208e5cff545bee996713bdeb7ade833c9ed9a20e58c124dc068feb11cfef108720786491d652baf9a883fa20c4
28 DIST raspberrypi-firmware-9e9acf8978.tar.gz 94626824 SHA256 4e7e9e725fa805bba481ec04428922146993b3b6755d0e091b2c14a33ca5702f SHA512 5de5056263f3b55ab107134f320b8d6ecbbeb9c1e649c027a6e8daed190589e1c4816b6bf41cfc6c7555df1673bb7888b3042cb612aa55f0e503a85db184e477 WHIRLPOOL 3106784be9c4147ae7ee81492bc87a85133a71e1dbf5a4a5abaf4bbfca2ef24eda95cd865c700b9885293397d7b7486f206c79de50035edb566e807df34ac77d
29 DIST raspberrypi-firmware-ba8059e890.tar.gz 93890924 SHA256 fadc9c1eae192d214cce1e3870f46d3a251acce3df901cc9bb80f24feebc9090 SHA512 1ca799b9c61f1ac3b149b64b30b75643597c2829d5b15053f02004a692bae570e157f06c51d295f5951462558a65ad9e126c59255e956595e0740965c8615a97 WHIRLPOOL 37a1fd034f722925f5d5fc0a40b5f882ca414bbc889d5da1a187e05745ec171dbd00dde0271231b88698cd9e7952fb48011dc726adbe00f33bf4d9d5b0da41b8
30 ------BEGIN PGP SIGNATURE-----
31 -Version: GnuPG v2
32 -
33 -iF4EAREIAAYFAlU5VDIACgkQknrdDGLu8JBuFAD9Htlgkz1PUJg1vGvlVYuQQU+o
34 -kfE4ax+4lQb5Rz6mPL0A/0PH8yOGhYvDuDo7F+8Tx+60vNW6zzQh7zUmW3OVUCi+
35 -=E9SB
36 ------END PGP SIGNATURE-----
37
38 diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160209.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160209.ebuild
39 new file mode 100644
40 index 0000000..b7b3c7b
41 --- /dev/null
42 +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20160209.ebuild
43 @@ -0,0 +1,49 @@
44 +# Copyright 1999-2015 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Header: $
47 +
48 +EAPI=5
49 +
50 +inherit multilib vcs-snapshot
51 +
52 +DESCRIPTION="Raspberry Pi userspace tools and libraries"
53 +HOMEPAGE="https://github.com/raspberrypi/firmware"
54 +MY_P="raspberrypi-firmware-${PV}"
55 +SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
56 +
57 +LICENSE="BSD GPL-2 raspberrypi-videocore-bin"
58 +SLOT="0"
59 +KEYWORDS="~arm -*"
60 +IUSE="+hardfp examples"
61 +
62 +RDEPEND="!media-libs/raspberrypi-userland"
63 +DEPEND="${DEPEND}"
64 +
65 +S=${WORKDIR}/${MY_P}
66 +
67 +RESTRICT="binchecks"
68 +
69 +src_prepare() {
70 + rm {,hardfp/}opt/vc/LICENCE || die
71 +}
72 +
73 +src_install() {
74 + cd $(usex hardfp hardfp/ "")opt/vc || die
75 +
76 + insinto /opt/vc
77 + doins -r include
78 + into /opt
79 + dobin bin/*
80 + dobin sbin/*
81 + insopts -m 0755
82 + insinto "/opt/vc/$(get_libdir)"
83 + doins -r lib/*
84 +
85 + doenvd "${FILESDIR}"/04${PN}
86 +
87 + if use examples ; then
88 + insopts -m 0644
89 + insinto /usr/share/doc/${PF}/examples
90 + doins -r src/hello_pi
91 + fi
92 +}
93
94 diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r2.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r2.ebuild
95 new file mode 100644
96 index 0000000..e91d648
97 --- /dev/null
98 +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1_pre20150421-r2.ebuild
99 @@ -0,0 +1,54 @@
100 +# Copyright 1999-2015 Gentoo Foundation
101 +# Distributed under the terms of the GNU General Public License v2
102 +# $Header: $
103 +
104 +EAPI=5
105 +
106 +inherit multilib vcs-snapshot
107 +
108 +DESCRIPTION="Raspberry Pi userspace tools and libraries"
109 +HOMEPAGE="https://github.com/raspberrypi/firmware"
110 +MY_COMMIT="6cc27e02dd"
111 +SRC_URI="https://github.com/raspberrypi/firmware/tarball/${MY_COMMIT} ->
112 + raspberrypi-firmware-${MY_COMMIT}.tar.gz"
113 +
114 +LICENSE="BSD GPL-2 raspberrypi-videocore-bin"
115 +SLOT="0"
116 +KEYWORDS="~arm -*"
117 +IUSE="+hardfp examples"
118 +
119 +RDEPEND="!media-libs/raspberrypi-userland"
120 +DEPEND="${DEPEND}"
121 +
122 +S=${WORKDIR}/raspberrypi-firmware-${MY_COMMIT}
123 +
124 +RESTRICT="binchecks"
125 +
126 +src_prepare() {
127 + cd $(usex hardfp hardfp/ "")opt/vc || die
128 +
129 + sed -e '/#include/s:"vcos_platform:"interface/vcos/pthreads/vcos_platform:' \
130 + -i.orig include/interface/vcos/*.h || die
131 + sed -e '/#include/s:"vchost_config:"interface/vmcs_host/linux/vchost_config:' \
132 + -i include/interface/vmcs_host/*.h || die
133 + # -e '/#include/s:"vchost_config:"interface/vmcs_host/vchost_config:' \
134 + # -e '/#include/s:"vcfilesys_def:"interface/vmcs_host/vcfilesys_def:' \
135 +}
136 +
137 +src_install() {
138 + cd $(usex hardfp hardfp/ "")opt/vc || die
139 +
140 + insinto /usr/include
141 + doins -r include/*
142 + insopts -m 0755
143 + insinto /usr/bin
144 + doins bin/*
145 + insinto /usr/sbin
146 + doins sbin/*
147 + insinto "/usr/$(get_libdir)"
148 + doins -r lib/*
149 +
150 + insopts -m 0644
151 + insinto /usr/share/doc/${PF}/examples
152 + use examples && doins -r src/hello_pi
153 +}