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: media-libs/svgalib/
Date: Thu, 28 Apr 2022 03:38:22 +0000 (UTC)	[thread overview]
Message-ID: <1651117086.d3e7ca77bc65f5233877f9e611a194b07c153bcd.sam@gentoo> (raw)

commit:     d3e7ca77bc65f5233877f9e611a194b07c153bcd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:38:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:38:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e7ca77

media-libs/svgalib: use udev.eclass; call udev_reload

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

 media-libs/svgalib/svgalib-1.9.25-r8.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/svgalib/svgalib-1.9.25-r8.ebuild b/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
index 4199e5163324..437e486ad5aa 100644
--- a/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.25-r8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic linux-mod toolchain-funcs
+inherit flag-o-matic linux-mod toolchain-funcs udev
 
 DESCRIPTION="A library for running svga graphics on the console"
 HOMEPAGE="http://www.svgalib.org/"
@@ -89,8 +89,7 @@ src_install() {
 	doins src/vga.h gl/vgagl.h src/mouse/vgamouse.h src/joystick/vgajoystick.h
 	doins src/keyboard/vgakeyboard.h kernel/svgalib_helper/svgalib_helper.h
 
-	insinto /lib/udev/rules.d
-	newins "${FILESDIR}"/svgalib.udev.rules.d.2 30-svgalib.rules
+	udev_newrules "${FILESDIR}"/svgalib.udev.rules.d.2 30-svgalib.rules
 
 	exeinto /usr/lib/svgalib/demos
 	for x in "${S}"/demos/* ; do
@@ -122,5 +121,7 @@ src_install() {
 }
 
 pkg_postinst() {
+	udev_reload
+
 	! use build && use kernel-helper && linux-mod_pkg_postinst
 }


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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  3:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-19 23:39 [gentoo-commits] repo/gentoo:master commit in: media-libs/svgalib/ Sam James
2021-05-17 11:42 Andrew Savchenko
2021-05-16 18:53 Sam James
2018-05-24  0:42 Aaron Bauman
2016-02-22 12:08 Andrew Savchenko

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=1651117086.d3e7ca77bc65f5233877f9e611a194b07c153bcd.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