diff options
author | 2024-03-12 20:39:25 +0000 | |
---|---|---|
committer | 2024-03-12 20:40:00 +0000 | |
commit | e9ec4a0db0f62974d327d8bb1633667fd455a531 (patch) | |
tree | aba0ec1e8c0d4d1ed85b50d57b523b70c22cca6c /sys-firmware | |
parent | x11-misc/gromit-mpx: drop 1.4.3, 1.5.0 (diff) | |
download | guru-e9ec4a0db0f62974d327d8bb1633667fd455a531.tar.gz guru-e9ec4a0db0f62974d327d8bb1633667fd455a531.tar.bz2 guru-e9ec4a0db0f62974d327d8bb1633667fd455a531.zip |
sys-firmware/lenovolegionlinux: add new legiond daemon
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild index 8507d75b41..672fcb964b 100644 --- a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild +++ b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild @@ -35,7 +35,7 @@ RDEPEND=" dev-python/darkdetect ) downgrade-nvidia? ( <=x11-drivers/nvidia-drivers-525 ) - acpi? ( sys-power/acpid ) + sys-power/acpid radeon-dgpu? ( dev-util/rocm-smi ) ryzenadj? ( sys-power/RyzenAdj ) undervolt-intel? ( dev-python/undervolt ) @@ -67,6 +67,8 @@ src_compile() { #Define build dir (fix sandboxed) cd "${WORKDIR}/${P}/python/legion_linux" distutils-r1_src_compile --build-dir "${WORKDIR}/${P}/python/legion_linux/build" + cd "legion_linux/extra/service/legiond" + emake || die fi } @@ -84,7 +86,11 @@ src_install() { cd "${WORKDIR}/${P}/extra" if use systemd; then - systemd_dounit service/legion-linux.service service/legion-linux.path service/legion-linux-onresume.service + systemd_dounit service/legiond.service service/legiond-onresume.service + insinto /usr/share/legion_linux/acpi/events + doins acpi/events/{legion_ppd,legion_ac} + dobin service/legiond/legiond + dobin service/legiond/legiond-cli fi if use acpi; then |