commit:     d9f7e76ebe8cd7824f2c2b86a078cf5ea60a47f1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May  2 00:56:55 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  2 00:56:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f7e76e

sys-power/wluma: install systemd user unit for 4.4.0 too

Closes: https://bugs.gentoo.org/931066
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/wluma/{wluma-4.4.0.ebuild => wluma-4.4.0-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-power/wluma/wluma-4.4.0.ebuild 
b/sys-power/wluma/wluma-4.4.0-r1.ebuild
similarity index 98%
rename from sys-power/wluma/wluma-4.4.0.ebuild
rename to sys-power/wluma/wluma-4.4.0-r1.ebuild
index d3c638149b07..dbaaedafd98b 100644
--- a/sys-power/wluma/wluma-4.4.0.ebuild
+++ b/sys-power/wluma/wluma-4.4.0-r1.ebuild
@@ -186,7 +186,7 @@ CRATES="
        [email protected]
 "
 
-inherit udev cargo
+inherit udev cargo systemd
 
 DESCRIPTION="Automatic brightness adjustment based on screen contents and ALS"
 HOMEPAGE="https://github.com/maximbaz/wluma";
@@ -219,6 +219,7 @@ src_install() {
 
        insinto /etc/xdg/autostart
        doins "${FILESDIR}"/wluma.desktop
+       systemd_douserunit "${PN}.service"
 
        insinto /usr/share/${P}
        doins config.toml

Reply via email to