From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7954A15800A for ; Thu, 13 Jul 2023 20:34:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F061E07EA; Thu, 13 Jul 2023 20:34:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FFFEE07EA for ; Thu, 13 Jul 2023 20:34:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D272340C20 for ; Thu, 13 Jul 2023 20:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8397EAF8 for ; Thu, 13 Jul 2023 20:34:41 +0000 (UTC) From: "Gonçalo Negrier Duarte" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gonçalo Negrier Duarte" Message-ID: <1689280455.295089ef87b25afca3043a8cb131a2c8577d28b8.gonegrier.duarte@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/nvidia-exec/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-power/nvidia-exec/Manifest sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild X-VCS-Directories: sys-power/nvidia-exec/ X-VCS-Committer: gonegrier.duarte X-VCS-Committer-Name: Gonçalo Negrier Duarte X-VCS-Revision: 295089ef87b25afca3043a8cb131a2c8577d28b8 X-VCS-Branch: dev Date: Thu, 13 Jul 2023 20:34:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 62b9a22b-5f17-41f9-91ae-cbdfbc420916 X-Archives-Hash: bc39569bf7f24d3c512c91813b85deec commit: 295089ef87b25afca3043a8cb131a2c8577d28b8 Author: Gonçalo Negrier Duarte gmail com> AuthorDate: Thu Jul 13 20:34:15 2023 +0000 Commit: Gonçalo Negrier Duarte gmail com> CommitDate: Thu Jul 13 20:34:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=295089ef sys-power/nvidia-exec: add 0.1.1 Signed-off-by: Gonçalo Negrier Duarte gmail.com> sys-power/nvidia-exec/Manifest | 1 + sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sys-power/nvidia-exec/Manifest b/sys-power/nvidia-exec/Manifest new file mode 100644 index 000000000..28aa6ea8e --- /dev/null +++ b/sys-power/nvidia-exec/Manifest @@ -0,0 +1 @@ +DIST v0.1.1.tar.gz 17096 BLAKE2B d1711740cb07c73735d9c20292c652ea10b527e2d0b5143fa192498e282d7bb1af183f6355cde7c96b5041d614819f5f166bace2ec54abab8c269192947e7412 SHA512 8ab439c086aee9abd7eb4c8f87c1577ab91084d6b685ddf487762abd36cd2dca250e6c799184de3cb58d0b2de239a55a873578e772c619a4c9002f45cef5f996 diff --git a/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild b/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild new file mode 100644 index 000000000..f2e2d0b9c --- /dev/null +++ b/sys-power/nvidia-exec/nvidia-exec-0.1.1.ebuild @@ -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" +}