public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/nvidia-exec/
Date: Thu, 13 Jul 2023 20:34:41 +0000 (UTC)	[thread overview]
Message-ID: <1689280455.295089ef87b25afca3043a8cb131a2c8577d28b8.gonegrier.duarte@gentoo> (raw)

commit:     295089ef87b25afca3043a8cb131a2c8577d28b8
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu Jul 13 20:34:15 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> 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 <gonegrier.duarte <AT> 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"
+}


             reply	other threads:[~2023-07-13 20:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13 20:34 Gonçalo Negrier Duarte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-24 22:09 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/nvidia-exec/ Gonçalo Negrier Duarte
2024-05-23  8:01 Gonçalo Negrier Duarte
2024-05-21 21:20 Quincy Fleming
2024-05-21 21:20 Quincy Fleming
2024-05-21 15:59 Gonçalo Negrier Duarte
2024-02-14 16:50 Gonçalo Negrier Duarte
2024-02-14 16:46 Gonçalo Negrier Duarte
2024-02-09 21:36 Gonçalo Negrier Duarte
2023-08-05 12:02 Gonçalo Negrier Duarte
2023-07-16  6:18 Haelwenn Monnier
2023-07-13 20:34 Gonçalo Negrier Duarte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689280455.295089ef87b25afca3043a8cb131a2c8577d28b8.gonegrier.duarte@gentoo \
    --to=gonegrier.duarte@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox