From: Hyper-KVM <Hyper-KVM@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: optimus-manager-1.2.3
Date: Fri, 03 Apr 2020 04:53:35 +0200 [thread overview]
Message-ID: <20200403025335.IefsJ5mdHrNkexsJtrfdKat7stUfKLLFF7qFy3eKBX8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20432@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
There is an updated pull request by Hyper-KVM against master on the void-packages repository
https://github.com/Hyper-KVM/void-packages optimus-manager
https://github.com/void-linux/void-packages/pull/20432
New package: optimus-manager-1.2.3
A patch file from https://github.com/void-linux/void-packages/pull/20432.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-optimus-manager-20432.patch --]
[-- Type: text/x-diff, Size: 2424 bytes --]
From f4230ae031eaf6e3d40619866b0fbf17a63a1eaf Mon Sep 17 00:00:00 2001
From: Hyper-KVM <hyperkvmx86@gmail.com>
Date: Wed, 1 Apr 2020 19:03:27 -0400
Subject: [PATCH] New package: optimus-manager-1.2.3
---
srcpkgs/optimus-manager/template | 45 ++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 srcpkgs/optimus-manager/template
diff --git a/srcpkgs/optimus-manager/template b/srcpkgs/optimus-manager/template
new file mode 100644
index 00000000000..d231305ece9
--- /dev/null
+++ b/srcpkgs/optimus-manager/template
@@ -0,0 +1,45 @@
+# Template file for 'optimus-manager'
+# Originally created by Askannz, ported to Void by Hyper-KVM
+pkgname=optimus-manager
+version=1.2.3
+revision=1
+archs="noarch"
+build_style=python3-module
+hostmakedepends="python3 python3-setuptools"
+makedepends="git"
+depends="python3 python3-setuptools elogind mesa-demos xrandr python3-dbus"
+short_desc="Utility to handle GPU switching for Optimus laptops"
+maintainer="Hyper-KVM <hyperkvmx86@gmail.com>"
+license="MIT"
+homepage="https://github.com/Askannz/optimus-manager"
+distfiles="https://github.com/Hyper-KVM/optimus-manager/archive/v${version}.tar.gz"
+checksum="ce3d30f8e28696bfc50d95b7e463b6ce7f45239cd3c78838f4b6a64a0a43cb5a"
+tags="python"
+
+do_build() {
+ cd "${wrksrc}"
+ python3 setup.py install
+}
+
+post_install() {
+ cd "${wrksrc}"
+ vinstall modules/optimus-manager.conf 644 usr/lib/modprobe.d/
+ vinstall runit/optimus-manager/run 755 etc/sv/optimus-manager
+ vinstall runit/prime-switch-boot/run 755 etc/sv/prime-switch-boot
+ vinstall optimus-manager.conf 644 usr/share/
+ vinstall var/startup_mode 644 var/lib/optimus-manager/
+ vinstall var/requested_mode 644 var/lib/optimus-manager/
+ vbin scripts/prime-switch-boot
+ vbin scripts/prime-switch
+ vbin scripts/prime-offload
+ vinstall login_managers/sddm/20-optimus-manager.conf 644 etc/sddm.conf.d/
+ vinstall login_managers/lightdm/20-optimus-manager.conf 644 etc/lightdm/lightdm.conf.d/
+ vinstall config/xorg-intel.conf 644 etc/optimus-manager/
+ vinstall config/xorg-nvidia.conf 644 etc/optimus-manager/
+ vinstall config/xsetup-intel.sh 755 etc/optimus-manager/
+ vinstall config/xsetup-nvidia.sh 755 etc/optimus-manager/
+ vinstall config/xsetup-hybrid.sh 755 etc/optimus-manager/
+ vinstall config/nvidia-enable.sh 755 etc/optimus-manager/
+ vinstall config/nvidia-disable.sh 755 etc/optimus-manager/
+ vlicense LICENSE
+}
next prev parent reply other threads:[~2020-04-03 2:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20432@inbox.vuxu.org>
2020-03-30 20:14 ` Hyper-KVM
2020-04-01 9:23 ` Hyper-KVM
2020-04-01 22:52 ` Hyper-KVM
2020-04-01 23:04 ` Hyper-KVM
2020-04-03 2:53 ` Hyper-KVM [this message]
2020-04-03 2:54 ` Hyper-KVM
2020-04-06 0:37 ` Hyper-KVM
2020-04-25 15:59 ` [PR PATCH] [Closed]: " Hyper-KVM
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=20200403025335.IefsJ5mdHrNkexsJtrfdKat7stUfKLLFF7qFy3eKBX8@z \
--to=hyper-kvm@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).