diff options
author | Sam James <sam@gentoo.org> | 2022-04-28 04:22:39 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-28 04:31:48 +0100 |
commit | 1717e31f229054a31d42dc0cf60165e333de11b6 (patch) | |
tree | fdebad895609d92e30f3bfc03e9cecca34343c77 /dev-libs/libcec | |
parent | sys-auth/thinkfinger: use udev.eclass; call udev_reload (diff) | |
download | gentoo-1717e31f229054a31d42dc0cf60165e333de11b6.tar.gz gentoo-1717e31f229054a31d42dc0cf60165e333de11b6.tar.bz2 gentoo-1717e31f229054a31d42dc0cf60165e333de11b6.zip |
dev-libs/libcec: use udev.eclass; call udev_reload
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libcec')
-rw-r--r-- | dev-libs/libcec/libcec-6.0.2.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-libs/libcec/libcec-6.0.2.ebuild b/dev-libs/libcec/libcec-6.0.2.ebuild index 9518fad0b156..2e1ceac2dcf0 100644 --- a/dev-libs/libcec/libcec-6.0.2.ebuild +++ b/dev-libs/libcec/libcec-6.0.2.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} ) MY_PV=${PV/_p/-} MY_P=${PN}-${MY_PV} -inherit cmake linux-info python-single-r1 toolchain-funcs +inherit cmake linux-info python-single-r1 toolchain-funcs udev DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" HOMEPAGE="http://libcec.pulse-eight.com" @@ -112,12 +112,13 @@ src_install() { use tools && doman debian/cec-client.1 if use udev; then - insinto /lib/udev/rules.d - doins "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" + udev_dorules "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" fi } pkg_postinst() { + use udev && udev_reload + elog "You will need to ensure the user running your CEC client has" elog "read/write access to the device. You can ensure this by adding" elog "them to the uucp group" |