1 |
commit: 5de878490cf52d935a9eff5335de88ce7a34c3df |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 03:26:07 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 03:31:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de87849 |
7 |
|
8 |
media-libs/raspberrypi-userland: use udev.eclass; call udev_reload |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../raspberrypi-userland-0_pre20160424.ebuild | 11 +++++++---- |
13 |
.../raspberrypi-userland-0_pre20201022.ebuild | 6 +++++- |
14 |
.../raspberrypi-userland/raspberrypi-userland-9999.ebuild | 6 +++++- |
15 |
3 files changed, 17 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild |
18 |
index 8c43fe24aa99..7f5d733485a6 100644 |
19 |
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild |
20 |
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
+# Copyright 1999-2022 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-inherit cmake |
29 |
+inherit cmake udev |
30 |
|
31 |
DESCRIPTION="Raspberry Pi userspace tools and libraries" |
32 |
HOMEPAGE="https://github.com/raspberrypi/userland" |
33 |
@@ -64,8 +64,7 @@ src_install() { |
34 |
|
35 |
doenvd "${FILESDIR}"/04${PN} |
36 |
|
37 |
- insinto /lib/udev/rules.d |
38 |
- doins "${FILESDIR}"/92-local-vchiq-permissions.rules |
39 |
+ udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules" |
40 |
|
41 |
# enable dynamic switching of the GL implementation |
42 |
dodir /usr/lib/opengl |
43 |
@@ -110,3 +109,7 @@ src_install() { |
44 |
|
45 |
rm -rfv "${D}"/opt/vc/src || die |
46 |
} |
47 |
+ |
48 |
+pkg_postinst() { |
49 |
+ udev_reload |
50 |
+} |
51 |
|
52 |
diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild |
53 |
index 7f27f6655647..112896ef1dde 100644 |
54 |
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild |
55 |
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild |
56 |
@@ -1,4 +1,4 @@ |
57 |
-# Copyright 1999-2020 Gentoo Authors |
58 |
+# Copyright 1999-2022 Gentoo Authors |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
EAPI=7 |
62 |
@@ -69,3 +69,7 @@ src_install() { |
63 |
cmake_src_install |
64 |
udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules" |
65 |
} |
66 |
+ |
67 |
+pkg_postinst() { |
68 |
+ udev_reload |
69 |
+} |
70 |
|
71 |
diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild |
72 |
index 7fa3e5909284..f05820d71ac0 100644 |
73 |
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild |
74 |
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild |
75 |
@@ -1,4 +1,4 @@ |
76 |
-# Copyright 1999-2020 Gentoo Authors |
77 |
+# Copyright 1999-2022 Gentoo Authors |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
|
80 |
EAPI=7 |
81 |
@@ -69,3 +69,7 @@ src_install() { |
82 |
cmake_src_install |
83 |
udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules" |
84 |
} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ udev_reload |
88 |
+} |