summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2024-03-20 04:06:21 +0100
committerPatrick McLean <chutzpah@gentoo.org>2024-04-30 14:55:02 -0700
commitbeba5c2c968e5041af0562ca25048fd2de559e4c (patch)
tree5b828819b15c03867ca09ec5056bfb8471f923ab /sys-power
parentdev-util/idea-community: drop 2024.1.0 (diff)
downloadgentoo-beba5c2c968e5041af0562ca25048fd2de559e4c.tar.gz
gentoo-beba5c2c968e5041af0562ca25048fd2de559e4c.tar.bz2
gentoo-beba5c2c968e5041af0562ca25048fd2de559e4c.zip
sys-power/wluma: install systemd user service
This allows to start wluma with systemd as described in the README. Signed-off-by: Benjamin Neff <benjamin@coding4coffee.ch> Closes: https://github.com/gentoo/gentoo/pull/35836 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/wluma/wluma-4.3.0-r2.ebuild (renamed from sys-power/wluma/wluma-4.3.0-r1.ebuild)7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-power/wluma/wluma-4.3.0-r1.ebuild b/sys-power/wluma/wluma-4.3.0-r2.ebuild
index 528323e9dc46..1956879e63c8 100644
--- a/sys-power/wluma/wluma-4.3.0-r1.ebuild
+++ b/sys-power/wluma/wluma-4.3.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.12.1
@@ -173,7 +173,7 @@ declare -A GIT_CRATES=(
[toml]='https://github.com/HarveyHunt/toml;7db18be32494855199ed827ac389e161914bd20d;toml-%commit%/crates/toml'
[toml_datetime]='https://github.com/HarveyHunt/toml;7db18be32494855199ed827ac389e161914bd20d;toml-%commit%/crates/toml_datetime'
)
-inherit udev cargo
+inherit udev cargo systemd
DESCRIPTION="Automatic brightness adjustment based on screen contents and ALS"
HOMEPAGE="https://github.com/maximbaz/wluma"
@@ -206,11 +206,12 @@ src_install() {
insinto /etc/xdg/autostart
doins "${FILESDIR}"/wluma.desktop
+ systemd_douserunit "${PN}.service"
insinto /usr/share/${P}
doins config.toml
- dodoc "${DOCS[@]}"
+ einstalldocs
}
pkg_postinst() {