public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/
Date: Thu, 28 Apr 2022 03:34:10 +0000 (UTC)	[thread overview]
Message-ID: <1651116708.1717e31f229054a31d42dc0cf60165e333de11b6.sam@gentoo> (raw)

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"


             reply	other threads:[~2022-04-28  3:34 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  3:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-28 18:19 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/ Arthur Zamarin
2024-05-28 12:35 Sam James
2024-05-28 12:29 Michał Górny
2024-04-22 16:52 Viorel Munteanu
2024-02-10 21:24 James Le Cuirot
2023-05-28 18:38 Andreas Sturmlechner
2023-05-05  9:03 Arthur Zamarin
2023-05-02 20:15 Sam James
2023-05-02 20:11 Sam James
2023-05-02  8:24 Viorel Munteanu
2022-08-27 11:45 Yixun Lan
2021-11-02  8:38 Arthur Zamarin
2021-05-19 23:38 Craig Andrews
2021-03-29 14:50 Sam James
2021-01-03  1:18 Sam James
2020-11-06  8:33 Sam James
2020-11-06  8:33 Sam James
2020-11-06  8:33 Sam James
2020-11-06  8:24 Sam James
2020-05-13 10:08 Agostino Sarubbo
2020-05-12 13:05 Agostino Sarubbo
2020-04-18 17:55 Craig Andrews
2020-02-10 11:54 Michał Górny
2019-10-15 19:15 Craig Andrews
2019-03-09 10:45 Ian Whyman
2019-01-01 14:14 Ian Whyman
2019-01-01 14:10 Ian Whyman
2018-06-24 12:37 Jason Zaman
2018-05-17 17:31 Craig Andrews
2017-05-26 14:05 Agostino Sarubbo
2017-05-25 10:44 Agostino Sarubbo
2017-05-12 21:50 Ian Whyman
2017-05-12 21:50 Ian Whyman
2017-01-21 17:16 Agostino Sarubbo
2017-01-09 21:25 Ian Whyman
2016-12-14 21:28 Ian Whyman
2016-10-26 21:11 Patrice Clement
2016-07-10 12:25 Ian Whyman
2016-05-22  9:59 Ian Whyman
2016-04-04  9:19 Michael Weber
2016-04-03 15:14 Patrice Clement
2016-04-02 11:57 Ian Whyman
2016-03-27  9:38 Agostino Sarubbo
2016-03-27  9:37 Agostino Sarubbo
2016-03-27  4:52 Mike Frysinger
2015-08-26 11:00 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651116708.1717e31f229054a31d42dc0cf60165e333de11b6.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox