diff options
author | Sam James <sam@gentoo.org> | 2022-04-28 04:26:07 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-28 04:31:52 +0100 |
commit | 5de878490cf52d935a9eff5335de88ce7a34c3df (patch) | |
tree | eca51afedc4fe97eef32f7a4ffcbf2cbebd5caf6 /media-libs/raspberrypi-userland | |
parent | net-misc/cgminer: use udev.eclass; call udev_reload (diff) | |
download | gentoo-5de878490cf52d935a9eff5335de88ce7a34c3df.tar.gz gentoo-5de878490cf52d935a9eff5335de88ce7a34c3df.tar.bz2 gentoo-5de878490cf52d935a9eff5335de88ce7a34c3df.zip |
media-libs/raspberrypi-userland: use udev.eclass; call udev_reload
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/raspberrypi-userland')
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 +} |