diff options
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 +} |