From dbc963a54a2a269a523dbcad3e0b76b3703a3cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Thu, 13 Jul 2023 22:02:20 +0100 Subject: [PATCH] sys-power/envycontrol: new package, add 3.2.0, 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- sys-power/envycontrol/Manifest | 1 + .../envycontrol/envycontrol-3.2.0.ebuild | 26 +++++++++++++++++++ sys-power/envycontrol/envycontrol-9999.ebuild | 24 +++++++++++++++++ sys-power/envycontrol/metadata.xml | 7 +++++ 4 files changed, 58 insertions(+) create mode 100644 sys-power/envycontrol/Manifest create mode 100644 sys-power/envycontrol/envycontrol-3.2.0.ebuild create mode 100644 sys-power/envycontrol/envycontrol-9999.ebuild create mode 100644 sys-power/envycontrol/metadata.xml diff --git a/sys-power/envycontrol/Manifest b/sys-power/envycontrol/Manifest new file mode 100644 index 0000000000..26d10a3c54 --- /dev/null +++ b/sys-power/envycontrol/Manifest @@ -0,0 +1 @@ +DIST v3.2.0.tar.gz 75600 BLAKE2B 8a6cd9c5a08299285a1994bca8a745fe070b4eebd11ebcf70566e797aad66c484918e93f39cad7a8411452ea125a5d5f6812c70c0adf201cf1b50c1e6d2ba91a SHA512 e54e297cc5bf4b3c63143c5aafd05fe9d80ebbec275cb671e0692bb855ab0312196ff74bb789e1902208251640f3a9c35e46dfb7354769169e4363e97e390c08 diff --git a/sys-power/envycontrol/envycontrol-3.2.0.ebuild b/sys-power/envycontrol/envycontrol-3.2.0.ebuild new file mode 100644 index 0000000000..2988f74966 --- /dev/null +++ b/sys-power/envycontrol/envycontrol-3.2.0.ebuild @@ -0,0 +1,26 @@ +# 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 distutils-r1 + +SRC_URI="https://github.com/bayasdev/envycontrol/archive/refs/tags/v${PV}.tar.gz" +DESCRIPTION="Easy GPU switching for Nvidia Optimus laptops under Linux " +HOMEPAGE="https://github.com/bayasdev/envycontrol" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/sys-power/envycontrol/envycontrol-9999.ebuild b/sys-power/envycontrol/envycontrol-9999.ebuild new file mode 100644 index 0000000000..23f9d4b9d6 --- /dev/null +++ b/sys-power/envycontrol/envycontrol-9999.ebuild @@ -0,0 +1,24 @@ +# 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 git-r3 distutils-r1 + +EGIT_REPO_URI="https://github.com/bayasdev/envycontrol.git" +DESCRIPTION="Easy GPU switching for Nvidia Optimus laptops under Linux" +HOMEPAGE="https://github.com/bayasdev/envycontrol" + +LICENSE="MIT" +SLOT="0" + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} diff --git a/sys-power/envycontrol/metadata.xml b/sys-power/envycontrol/metadata.xml new file mode 100644 index 0000000000..383164ce53 --- /dev/null +++ b/sys-power/envycontrol/metadata.xml @@ -0,0 +1,7 @@ + + + + + bayasdev/envycontrol + +