From 4f4a9a95480c5afae2dc91afdb5699c194548c96 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sat, 12 Jul 2025 22:34:07 +0200 Subject: [PATCH] Added --- sys-power/envycontrol/Manifest.txt | 1 + .../envycontrol/envycontrol-3.4.0.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sys-power/envycontrol/Manifest.txt create mode 100644 sys-power/envycontrol/envycontrol-3.4.0.ebuild diff --git a/sys-power/envycontrol/Manifest.txt b/sys-power/envycontrol/Manifest.txt new file mode 100644 index 0000000..0a19d64 --- /dev/null +++ b/sys-power/envycontrol/Manifest.txt @@ -0,0 +1 @@ +DIST envycontrol-3.4.0.tar.gz 78371 BLAKE2B 99cfe5877a23f82b5722eb32a88b4943731c519eb5464bb6b4454a7739f4e9b051751dde2baa0557ca0338e7344e71d021f4f8d3e57588d60c2b07cfb3e14bd5 SHA512 fc55a5a43aa33054564c9f7ce9819cb8095f906b7ce25fe0363bdf53eb358920a393c12de75d7a9edcad865cc11591ca7717ef4c7d8cc6eda9e62444e62a7b12 diff --git a/sys-power/envycontrol/envycontrol-3.4.0.ebuild b/sys-power/envycontrol/envycontrol-3.4.0.ebuild new file mode 100644 index 0000000..97d6f2b --- /dev/null +++ b/sys-power/envycontrol/envycontrol-3.4.0.ebuild @@ -0,0 +1,25 @@ +# 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_{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" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +}