--- a/libcec-6.0.2.ebuild 2021-01-07 01:39:24.000000000 +0000 +++ b/libcec-6.0.2.ebuild 2021-01-21 14:20:11.677276876 +0000 @@ -97,9 +97,9 @@ src_compile() { cmake_src_compile - if use udev ; then - cp "${S}/debian/pulse-eight-usb-cec.udev" \ - "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" || die + if use udev ; then + sed '/2548/ s/SUBSYSTEM/SUBSYSTEMS/; s/$/, GROUP="video"/;' "${S}/debian/pulse-eight-usb-cec.udev" > \ + "${BUILD_DIR}/65-pulse-eight-usb-cec.rules" || die fi } @@ -112,12 +112,12 @@ if use udev; then insinto /lib/udev/rules.d - doins "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" + doins "${BUILD_DIR}/65-pulse-eight-usb-cec.rules" fi } pkg_postinst() { 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" + elog "them to the video group" }