public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/
Date: Thu, 28 Apr 2022 03:34:11 +0000 (UTC)	[thread overview]
Message-ID: <1651116712.5de878490cf52d935a9eff5335de88ce7a34c3df.sam@gentoo> (raw)

commit:     5de878490cf52d935a9eff5335de88ce7a34c3df
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:26:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:31:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de87849

media-libs/raspberrypi-userland: use udev.eclass; call udev_reload

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../raspberrypi-userland-0_pre20160424.ebuild                 | 11 +++++++----
 .../raspberrypi-userland-0_pre20201022.ebuild                 |  6 +++++-
 .../raspberrypi-userland/raspberrypi-userland-9999.ebuild     |  6 +++++-
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild
index 8c43fe24aa99..7f5d733485a6 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake
+inherit cmake udev
 
 DESCRIPTION="Raspberry Pi userspace tools and libraries"
 HOMEPAGE="https://github.com/raspberrypi/userland"
@@ -64,8 +64,7 @@ src_install() {
 
 	doenvd "${FILESDIR}"/04${PN}
 
-	insinto /lib/udev/rules.d
-	doins "${FILESDIR}"/92-local-vchiq-permissions.rules
+	udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules"
 
 	# enable dynamic switching of the GL implementation
 	dodir /usr/lib/opengl
@@ -110,3 +109,7 @@ src_install() {
 
 	rm -rfv "${D}"/opt/vc/src || die
 }
+
+pkg_postinst() {
+	udev_reload
+}

diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
index 7f27f6655647..112896ef1dde 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20201022.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -69,3 +69,7 @@ src_install() {
 	cmake_src_install
 	udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules"
 }
+
+pkg_postinst() {
+	udev_reload
+}

diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
index 7fa3e5909284..f05820d71ac0 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -69,3 +69,7 @@ src_install() {
 	cmake_src_install
 	udev_dorules "${FILESDIR}/92-local-vchiq-permissions.rules"
 }
+
+pkg_postinst() {
+	udev_reload
+}


             reply	other threads:[~2022-04-28  3:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  3:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-24 21:03 [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/ Andreas Sturmlechner
2021-02-16 19:33 Sam James
2020-12-10 17:43 Sam James
2020-12-07 17:11 Sam James
2020-12-03  5:20 Sam James
2020-11-23  4:52 Sam James
2019-04-05 16:41 Alfredo Tupone
2017-07-30  9:38 Michał Górny
2017-07-19  8:56 Patrice Clement
2017-03-07  7:28 Michael Weber
2017-02-23 12:35 Michael Weber
2016-04-25  7:56 Miroslav Šulc
2016-04-11 20:28 Miroslav Šulc
2016-03-30 13:37 Miroslav Šulc
2015-10-26 16:38 Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651116712.5de878490cf52d935a9eff5335de88ce7a34c3df.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox