commit:     f14445bf2d5d098fd913cb0aacb8fca8a555dcdc
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Dec 16 23:53:38 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 16 23:55:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f14445bf

sys-power/envycontrol: drop 3.4.0, QA fixups

Fixup patch contributed by negril, thanks!

Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 sys-power/envycontrol/Manifest                 |  1 -
 sys-power/envycontrol/envycontrol-3.4.0.ebuild | 27 --------------------------
 sys-power/envycontrol/envycontrol-3.5.2.ebuild | 15 +++++++-------
 sys-power/envycontrol/envycontrol-9999.ebuild  | 13 ++++++-------
 4 files changed, 13 insertions(+), 43 deletions(-)

diff --git a/sys-power/envycontrol/Manifest b/sys-power/envycontrol/Manifest
index 2987d648bf..49f5eaa2c9 100644
--- a/sys-power/envycontrol/Manifest
+++ b/sys-power/envycontrol/Manifest
@@ -1,2 +1 @@
-DIST envycontrol-3.4.0.tar.gz 78371 BLAKE2B 
99cfe5877a23f82b5722eb32a88b4943731c519eb5464bb6b4454a7739f4e9b051751dde2baa0557ca0338e7344e71d021f4f8d3e57588d60c2b07cfb3e14bd5
 SHA512 
fc55a5a43aa33054564c9f7ce9819cb8095f906b7ce25fe0363bdf53eb358920a393c12de75d7a9edcad865cc11591ca7717ef4c7d8cc6eda9e62444e62a7b12
 DIST envycontrol-3.5.2.tar.gz 79309 BLAKE2B 
268d2919cfc63b4aed38ea9314363dbb04dd1eb3bd35780fcd85090d416307cbec99a179330e8f1cb748a392daa2ec75a470d2eda9a34ebc2cb0a66b83b953c4
 SHA512 
ad42c61161e10d6c2922261589b9f27015888eed73268fb02da0aa2f319e3eaa69205f5dfbe2dfc5bea36116e1aecb0bd9d0939202387275043f05f47161aa9c

diff --git a/sys-power/envycontrol/envycontrol-3.4.0.ebuild 
b/sys-power/envycontrol/envycontrol-3.4.0.ebuild
deleted file mode 100644
index 203b31f789..0000000000
--- a/sys-power/envycontrol/envycontrol-3.4.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="Easy GPU switching for Nvidia Optimus laptops under Linux "
-HOMEPAGE="https://github.com/bayasdev/envycontrol";
-SRC_URI="https://github.com/bayasdev/envycontrol/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="sys-apps/systemd"
-
-src_compile() {
-       distutils-r1_src_compile
-}
-
-src_install() {
-       distutils-r1_src_install
-}

diff --git a/sys-power/envycontrol/envycontrol-3.5.2.ebuild 
b/sys-power/envycontrol/envycontrol-3.5.2.ebuild
index 7e6f00c082..5b588a1252 100644
--- a/sys-power/envycontrol/envycontrol-3.5.2.ebuild
+++ b/sys-power/envycontrol/envycontrol-3.5.2.ebuild
@@ -14,14 +14,13 @@ 
SRC_URI="https://github.com/bayasdev/envycontrol/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
-RDEPEND="sys-apps/systemd"
+IUSE="+systemd"
 
-src_compile() {
-       distutils-r1_src_compile
-}
+REQUIRED_USE="systemd"
 
-src_install() {
-       distutils-r1_src_install
-}
+RDEPEND="
+       x11-drivers/nvidia-drivers[persistenced]
+       systemd? ( sys-apps/systemd )
+"

diff --git a/sys-power/envycontrol/envycontrol-9999.ebuild 
b/sys-power/envycontrol/envycontrol-9999.ebuild
index aef11c9519..e49d150d36 100644
--- a/sys-power/envycontrol/envycontrol-9999.ebuild
+++ b/sys-power/envycontrol/envycontrol-9999.ebuild
@@ -15,12 +15,11 @@ HOMEPAGE="https://github.com/bayasdev/envycontrol";
 LICENSE="MIT"
 SLOT="0"
 
-RDEPEND="sys-apps/systemd"
+IUSE="+systemd"
 
-src_compile() {
-       distutils-r1_src_compile
-}
+REQUIRED_USE="systemd"
 
-src_install() {
-       distutils-r1_src_install
-}
+RDEPEND="
+       x11-drivers/nvidia-drivers[persistenced]
+       systemd? ( sys-apps/systemd )
+"

Reply via email to