aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2024-02-14 16:50:40 +0000
committerGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2024-02-14 16:50:40 +0000
commitb8debfa0ec39e6aef34337f94dd75ca2ce01a91e (patch)
tree3bf5a41cf2d6cf70e70b8a0cd2ff09ae0aaeab44 /sys-power
parentsys-power/nvidia-exec: Update nvidia-exec ebuild to changes upstream (diff)
downloadguru-b8debfa0ec39e6aef34337f94dd75ca2ce01a91e.tar.gz
guru-b8debfa0ec39e6aef34337f94dd75ca2ce01a91e.tar.bz2
guru-b8debfa0ec39e6aef34337f94dd75ca2ce01a91e.zip
sys-power/nvidia-exec: unkeyword 9999 for ~amd64, ~x86
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nvidia-exec/nvidia-exec-0.1.2-r1.ebuild3
-rw-r--r--sys-power/nvidia-exec/nvidia-exec-9999.ebuild3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys-power/nvidia-exec/nvidia-exec-0.1.2-r1.ebuild b/sys-power/nvidia-exec/nvidia-exec-0.1.2-r1.ebuild
index d3b619ba1..dc28323cd 100644
--- a/sys-power/nvidia-exec/nvidia-exec-0.1.2-r1.ebuild
+++ b/sys-power/nvidia-exec/nvidia-exec-0.1.2-r1.ebuild
@@ -13,6 +13,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/pedro00dk/nvidia-exec.git"
else
SRC_URI="https://github.com/pedro00dk/nvidia-exec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="GPU switching without login out for Nvidia Optimus laptops under Linux"
@@ -28,8 +29,6 @@ RDEPEND="
x11-drivers/nvidia-drivers
"
-KEYWORDS="~amd64 ~x86"
-
src_install() {
dobin "${WORKDIR}/${P}/nvx"
systemd_dounit "${WORKDIR}/${P}/nvx.service"
diff --git a/sys-power/nvidia-exec/nvidia-exec-9999.ebuild b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
index d3b619ba1..dc28323cd 100644
--- a/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
+++ b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
@@ -13,6 +13,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/pedro00dk/nvidia-exec.git"
else
SRC_URI="https://github.com/pedro00dk/nvidia-exec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="GPU switching without login out for Nvidia Optimus laptops under Linux"
@@ -28,8 +29,6 @@ RDEPEND="
x11-drivers/nvidia-drivers
"
-KEYWORDS="~amd64 ~x86"
-
src_install() {
dobin "${WORKDIR}/${P}/nvx"
systemd_dounit "${WORKDIR}/${P}/nvx.service"