mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
sys-power/nvidia-exec: add 0.1.1
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
parent
40372f3fe8
commit
295089ef87
1
sys-power/nvidia-exec/Manifest
Normal file
1
sys-power/nvidia-exec/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST v0.1.1.tar.gz 17096 BLAKE2B d1711740cb07c73735d9c20292c652ea10b527e2d0b5143fa192498e282d7bb1af183f6355cde7c96b5041d614819f5f166bace2ec54abab8c269192947e7412 SHA512 8ab439c086aee9abd7eb4c8f87c1577ab91084d6b685ddf487762abd36cd2dca250e6c799184de3cb58d0b2de239a55a873578e772c619a4c9002f45cef5f996
|
33
sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild
Normal file
33
sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{9..12} )
|
||||||
|
|
||||||
|
inherit systemd
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/pedro00dk/nvidia-exec/archive/refs/tags/v${PV}.tar.gz"
|
||||||
|
|
||||||
|
DESCRIPTION="Lenovo Legion Linux kernel module"
|
||||||
|
HOMEPAGE="https://github.com/pedro00dk/nvidia-exec"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${WORKDIR}/${P}/nvx"
|
||||||
|
insinto /usr/lib/systemd/system-sleep
|
||||||
|
doins "${WORKDIR}/${P}/nvx-suspend-restore"
|
||||||
|
systemd_dounit "${WORKDIR}/${P}/nvx.service"
|
||||||
|
insinto /usr/lib/modprobe.d
|
||||||
|
newins "${WORKDIR}/${P}/modprobe.conf" nvx.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "Don't forget to reload dbus to enable \"nvx\" service, \
|
||||||
|
by runnning:\n \`systemctl daemon-reload && systemctl enable --now nvx\`\n"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user