summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-12-23 18:04:45 +0100
committerPacho Ramos <pacho@gentoo.org>2020-12-23 18:05:12 +0100
commit7450812b6099c16879c79b5e02d5dc49537f48a1 (patch)
treee3ddae6bbc5956646540fbd399cc6d65ce2d0a9d /x11-misc/prime-run
parentdev-util/github-cli: 1.4.0 bump (diff)
downloadgentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.tar.gz
gentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.tar.bz2
gentoo-7450812b6099c16879c79b5e02d5dc49537f48a1.zip
x11-misc/prime-run: Simple script to run on discrete card
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'x11-misc/prime-run')
-rw-r--r--x11-misc/prime-run/Manifest1
-rw-r--r--x11-misc/prime-run/metadata.xml7
-rw-r--r--x11-misc/prime-run/prime-run-1.0.ebuild23
3 files changed, 31 insertions, 0 deletions
diff --git a/x11-misc/prime-run/Manifest b/x11-misc/prime-run/Manifest
new file mode 100644
index 000000000000..1256812b414f
--- /dev/null
+++ b/x11-misc/prime-run/Manifest
@@ -0,0 +1 @@
+DIST prime-run-1.0 112 BLAKE2B d4b69c9eef04201554f18a7fbcf741fd8712792f06d5a94e31bb5424479df6bbcdf4399c8f9d0f911b12999794ef6f88ab54e38145c41d4cc53e5f5922cac203 SHA512 d9158ddee6ec105796d86ac42b32c6c925cfa866d5e25c64d5a29be47fe393ace0efb4ef8a3e7cff699abc599d28ee46866dcbfdfd1920122e426ee262c562e6
diff --git a/x11-misc/prime-run/metadata.xml b/x11-misc/prime-run/metadata.xml
new file mode 100644
index 000000000000..020b40648ee8
--- /dev/null
+++ b/x11-misc/prime-run/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pacho@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/prime-run/prime-run-1.0.ebuild b/x11-misc/prime-run/prime-run-1.0.ebuild
new file mode 100644
index 000000000000..ea4e509c801e
--- /dev/null
+++ b/x11-misc/prime-run/prime-run-1.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Wrapper to run app with NVIDIA"
+HOMEPAGE="https://github.com/archlinux/svntogit-packages/tree/packages/nvidia-prime/trunk https://archlinux.org/packages/extra/any/nvidia-prime/"
+SRC_URI="https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/nvidia-prime/trunk/prime-run -> ${P}"
+
+# https://github.com/archlinux/svntogit-packages/blob/packages/nvidia-prime/trunk/PKGBUILD
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ newbin "${DISTDIR}"/${P} ${PN}
+}