Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/rogauracore/
Date: Tue, 28 Jun 2022 03:59:13
Message-Id: 1656388736.c4d879d60a2f5edcce042d8c120655b0086be6d5.fordfrog@gentoo
1 commit: c4d879d60a2f5edcce042d8c120655b0086be6d5
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 03:58:56 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 03:58:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d879d6
7
8 app-laptop/rogauracore: fixed udev reload
9
10 Closes: https://bugs.gentoo.org/854690
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 app-laptop/rogauracore/rogauracore-1.5.ebuild | 10 +++++++++-
14 app-laptop/rogauracore/rogauracore-1.6.ebuild | 4 ++++
15 app-laptop/rogauracore/rogauracore-9999.ebuild | 4 ++++
16 3 files changed, 17 insertions(+), 1 deletion(-)
17
18 diff --git a/app-laptop/rogauracore/rogauracore-1.5.ebuild b/app-laptop/rogauracore/rogauracore-1.5.ebuild
19 index 083d9ea4e335..06b0cf8b4207 100644
20 --- a/app-laptop/rogauracore/rogauracore-1.5.ebuild
21 +++ b/app-laptop/rogauracore/rogauracore-1.5.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=7
25
26 -inherit autotools
27 +inherit autotools udev
28
29 if [[ ${PV} = "9999" ]]; then
30 EGIT_REPO_URI="https://github.com/wroberts/rogauracore.git"
31 @@ -33,3 +33,11 @@ src_configure() {
32 src_compile() {
33 emake
34 }
35 +
36 +pkg_postinst() {
37 + udev_reload
38 +}
39 +
40 +pkg_postrm() {
41 + udev_reload
42 +}
43
44 diff --git a/app-laptop/rogauracore/rogauracore-1.6.ebuild b/app-laptop/rogauracore/rogauracore-1.6.ebuild
45 index 5c7ce4a941bd..4507dee9a9ea 100644
46 --- a/app-laptop/rogauracore/rogauracore-1.6.ebuild
47 +++ b/app-laptop/rogauracore/rogauracore-1.6.ebuild
48 @@ -37,3 +37,7 @@ src_compile() {
49 pkg_postinst() {
50 udev_reload
51 }
52 +
53 +pkg_postrm() {
54 + udev_reload
55 +}
56
57 diff --git a/app-laptop/rogauracore/rogauracore-9999.ebuild b/app-laptop/rogauracore/rogauracore-9999.ebuild
58 index 5c7ce4a941bd..4507dee9a9ea 100644
59 --- a/app-laptop/rogauracore/rogauracore-9999.ebuild
60 +++ b/app-laptop/rogauracore/rogauracore-9999.ebuild
61 @@ -37,3 +37,7 @@ src_compile() {
62 pkg_postinst() {
63 udev_reload
64 }
65 +
66 +pkg_postrm() {
67 + udev_reload
68 +}