From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libnjb/
Date: Tue, 28 Jun 2022 08:23:31 +0000 (UTC) [thread overview]
Message-ID: <1656404608.9ef872c7169635b649f7bc89ae9148e798f5f60e.fordfrog@gentoo> (raw)
commit: 9ef872c7169635b649f7bc89ae9148e798f5f60e
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 08:23:19 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 08:23:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef872c7
media-libs/libnjb: fixed udev reload, eapi8
Closes: https://bugs.gentoo.org/847433
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../libnjb/{libnjb-2.2.7.ebuild => libnjb-2.2.7-r1.ebuild} | 14 +++++++++++---
media-libs/libnjb/libnjb-2.2.7.ebuild | 10 +++++++++-
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/media-libs/libnjb/libnjb-2.2.7.ebuild b/media-libs/libnjb/libnjb-2.2.7-r1.ebuild
similarity index 84%
copy from media-libs/libnjb/libnjb-2.2.7.ebuild
copy to media-libs/libnjb/libnjb-2.2.7-r1.ebuild
index db6b951fbf00..2f593d538544 100644
--- a/media-libs/libnjb/libnjb-2.2.7.ebuild
+++ b/media-libs/libnjb/libnjb-2.2.7-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit libtool udev
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc static-libs"
RDEPEND="virtual/libusb:0"
@@ -40,3 +40,11 @@ src_install() {
# package provides .pc files
find "${D}" -name '*.la' -delete || die
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/media-libs/libnjb/libnjb-2.2.7.ebuild b/media-libs/libnjb/libnjb-2.2.7.ebuild
index db6b951fbf00..4149c8448297 100644
--- a/media-libs/libnjb/libnjb-2.2.7.ebuild
+++ b/media-libs/libnjb/libnjb-2.2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -40,3 +40,11 @@ src_install() {
# package provides .pc files
find "${D}" -name '*.la' -delete || die
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
next reply other threads:[~2022-06-28 8:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-28 8:23 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-29 1:15 [gentoo-commits] repo/gentoo:master commit in: media-libs/libnjb/ Sam James
2023-07-07 7:31 Miroslav Šulc
2022-08-02 4:45 Miroslav Šulc
2022-08-01 22:12 Sam James
2022-08-01 8:04 Agostino Sarubbo
2022-08-01 8:03 Agostino Sarubbo
2022-08-01 8:01 Agostino Sarubbo
2018-04-18 18:50 David Seifert
2018-04-18 18:50 David Seifert
2018-04-07 12:07 Sergei Trofimovich
2018-03-13 22:26 Thomas Deutschmann
2018-03-07 13:51 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=1656404608.9ef872c7169635b649f7bc89ae9148e798f5f60e.fordfrog@gentoo \
--to=fordfrog@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