diff options
author | Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> | 2023-07-07 11:35:47 +0100 |
---|---|---|
committer | Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> | 2023-07-07 11:35:47 +0100 |
commit | 49b67f56acff418a0de47fbfc51f811ddf831c96 (patch) | |
tree | 0e910d17b9d13e15ffbfd3dd51627ab61be30f32 /sys-firmware/lenovolegionlinux | |
parent | gui-apps/ReGreet: fix spacing and metadata (diff) | |
download | guru-49b67f56acff418a0de47fbfc51f811ddf831c96.tar.gz guru-49b67f56acff418a0de47fbfc51f811ddf831c96.tar.bz2 guru-49b67f56acff418a0de47fbfc51f811ddf831c96.zip |
sys-firmware/lenovolegionlinux: Remove toolchain-funcs eclass
** Remove app-portage/smart-live-rebuild dependency
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'sys-firmware/lenovolegionlinux')
-rw-r--r-- | sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild index 397b677ab..e5ddacdeb 100644 --- a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild +++ b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} ) EPYTHON=python3 -inherit linux-mod-r1 toolchain-funcs git-r3 distutils-r1 desktop systemd +inherit linux-mod-r1 git-r3 distutils-r1 desktop systemd EGIT_REPO_URI="https://github.com/johnfanv2/LenovoLegionLinux.git" @@ -21,7 +21,6 @@ DEPEND="sys-kernel/linux-headers legion-tools? ( dev-python/PyQt5 ) legion-tools? ( dev-python/pyyaml ) legion-tools? ( dev-python/argcomplete ) - app-portage/smart-live-rebuild legion-acpi? ( sys-power/acpid ) radeon-dgpu? ( dev-util/rocm-smi ) downgrade-nvidia? ( <=x11-drivers/nvidia-drivers-525 ) @@ -60,29 +59,29 @@ src_install() { cd "${WORKDIR}/${P}/extra" if use legion-acpi; then - insinto /etc/acpi/events/ && doins acpi/events/{ac_adapter_legion-fancurve,novo-button,PrtSc-button,fn-r-refrate} + insinto /etc/acpi/events/ && doins acpi/events/{ac_adapter_legion-fancurve,novo-button,PrtSc-button,fn-r-refrate} insinto /etc/acpi/actions/ && doins acpi/actions/{battery-legion-quiet.sh,snipping-tool.sh,fn-r-refresh-rate.sh} fi if use systemd; then - systemd_dounit service/legion-linux.service service/legion-linux.path + systemd_dounit service/legion-linux.service service/legion-linux.path dobin service/fancurve-set insinto /usr/share/legion_linux && doins service/profiles/* insinto /etc/legion_linux && doins service/profiles/* #AMD if use radeon-dgpu; then - insinto /usr/share/legion_linux && newins "${FILESDIR}/radeon" .env + insinto /usr/share/legion_linux && newins "${FILESDIR}/radeon" .env insinto /etc/legion_linux && newins "${FILESDIR}/radeon" .env fi #NVIDIA (need dowgrade because nvidia-smi -pl was removed) if use downgrade-nvidia; then - insinto /usr/share/legion_linux && newins "${FILESDIR}/nvidia" .env + insinto /usr/share/legion_linux && newins "${FILESDIR}/nvidia" .env insinto /etc/legion_linux && newins "${FILESDIR}/nvidia" .env fi if use ryzenadj; then - insinto /usr/share/legion_linux && newins "${FILESDIR}/cpu" .env + insinto /usr/share/legion_linux && newins "${FILESDIR}/cpu" .env insinto /etc/legion_linux && newins "${FILESDIR}/cpu" .env fi |