public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/
@ 2022-04-28  3:34 99% Sam James
  0 siblings, 0 replies; 1+ results
From: Sam James @ 2022-04-28  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     1717e31f229054a31d42dc0cf60165e333de11b6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:22:39 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:31:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1717e31f

dev-libs/libcec: use udev.eclass; call udev_reload

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libcec/libcec-6.0.2.ebuild | 7 ++++---
 1 file 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"


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-04-28  3:34 99% [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox