--- a/libcec-6.0.2.ebuild 2021-01-07 01:39:24.000000000 +0000 +++ b/libcec-6.0.2.ebuild 2021-01-13 21:56:01.798624505 +0000 @@ -98,8 +98,8 @@ cmake_src_compile if use udev ; then - cp "${S}/debian/pulse-eight-usb-cec.udev" \ - "${BUILD_DIR}/65-pulse-eight-usb-cec.udev" || die + sed '/2548/ s/$/, GROUP="video"/' "${S}/debian/pulse-eight-usb-cec.udev" > \ + "${BUILD_DIR}/45-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}/45-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" }