Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland-bin/
Date: Mon, 29 Jul 2019 21:01:14
Message-Id: 1564434008.234fe7d8314b894336813b2e5edff006beab57c8.andrey_utkin@gentoo
1 commit: 234fe7d8314b894336813b2e5edff006beab57c8
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 29 17:27:18 2019 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 29 21:00:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234fe7d8
7
8 media-libs/raspberrypi-userland-bin: add new version 1.20190709
9
10 Cloned from existing ebuild unchanged.
11
12 Package-Manager: Portage-2.3.66, Repoman-2.3.16
13 Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
14
15 media-libs/raspberrypi-userland-bin/Manifest | 1 +
16 .../raspberrypi-userland-bin-1.20190709.ebuild | 48 ++++++++++++++++++++++
17 2 files changed, 49 insertions(+)
18
19 diff --git a/media-libs/raspberrypi-userland-bin/Manifest b/media-libs/raspberrypi-userland-bin/Manifest
20 index e85f49a4665..487bb6cedd4 100644
21 --- a/media-libs/raspberrypi-userland-bin/Manifest
22 +++ b/media-libs/raspberrypi-userland-bin/Manifest
23 @@ -1 +1,2 @@
24 DIST raspberrypi-firmware-1.20170303.tar.gz 118888867 BLAKE2B d90fc012d4371a797ed52172f0d0f94ea33901bbf10fc59f1ce0f54fbeb74a849b46dbbd4f71a73a7de655a4ed27586ee354e1535079e304bd66513452a33193 SHA512 cb0015fcaa607039db2ff40cadcfcafd0cf2ec7dd1df47f38414540fb1f86d626648bf6403989007895b0617c13ff4ec233a7b1987986224c09a8209e7732501
25 +DIST raspberrypi-firmware-1.20190709.tar.gz 158835870 BLAKE2B 4e63b3308adcd75f69f66966f1c927449aa8dc65211e6ca5a27dd2a0ed6ed32cc85ad42221308f4fb3a852d9f278400cfe4f723f306abe102341568408027174 SHA512 6a0610c97db47441ede8e4f8436958899f678bf065a0fbde06de7945a1ac4d5f754a0e10d928d77759ba1cbf82654d85d9cb9c91b970c3fe9590560267033522
26
27 diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild
28 new file mode 100644
29 index 00000000000..de28e90041a
30 --- /dev/null
31 +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=5
37 +
38 +inherit multilib vcs-snapshot
39 +
40 +DESCRIPTION="Raspberry Pi userspace tools and libraries"
41 +HOMEPAGE="https://github.com/raspberrypi/firmware"
42 +MY_P="raspberrypi-firmware-${PV}"
43 +SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
44 +
45 +LICENSE="BSD GPL-2 raspberrypi-videocore-bin"
46 +SLOT="0"
47 +KEYWORDS="-* ~arm"
48 +IUSE="+hardfp examples"
49 +
50 +RDEPEND="!media-libs/raspberrypi-userland"
51 +DEPEND="${DEPEND}"
52 +
53 +S=${WORKDIR}/${MY_P}
54 +
55 +RESTRICT="binchecks"
56 +
57 +src_prepare() {
58 + rm {,hardfp/}opt/vc/LICENCE || die
59 +}
60 +
61 +src_install() {
62 + cd $(usex hardfp hardfp/ "")opt/vc || die
63 +
64 + insinto /opt/vc
65 + doins -r include
66 + into /opt
67 + dobin bin/*
68 + dobin sbin/*
69 + insopts -m 0755
70 + insinto "/opt/vc/$(get_libdir)"
71 + doins -r lib/*
72 +
73 + doenvd "${FILESDIR}"/04${PN}
74 +
75 + if use examples ; then
76 + insopts -m 0644
77 + insinto /usr/share/doc/${PF}/examples
78 + doins -r src/hello_pi
79 + fi
80 +}