aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2023-03-03 15:36:04 +0500
committerDenis Reva <denis7774@gmail.com>2023-03-03 18:07:36 +0500
commit345b9b2ee9bfc3efaeed2ad0ae09e235a8db114a (patch)
treea99c0fe5829b3738e617ff68fa43c3e3a676b420
parentapp-misc/fastfetch: drop 1.9.1 (diff)
downloadguru-345b9b2ee9bfc3efaeed2ad0ae09e235a8db114a.tar.gz
guru-345b9b2ee9bfc3efaeed2ad0ae09e235a8db114a.tar.bz2
guru-345b9b2ee9bfc3efaeed2ad0ae09e235a8db114a.zip
media-libs/nvidia-vaapi-driver: new package
Installed but not tested. Work in progress Signed-off-by: Denis Reva <denis7774@gmail.com>
-rw-r--r--media-libs/nvidia-vaapi-driver/Manifest1
-rw-r--r--media-libs/nvidia-vaapi-driver/metadata.xml15
-rw-r--r--media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild30
3 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/nvidia-vaapi-driver/Manifest b/media-libs/nvidia-vaapi-driver/Manifest
new file mode 100644
index 000000000..0d29a76d1
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/Manifest
@@ -0,0 +1 @@
+DIST nvidia-vaapi-driver-0.0.8.tar.gz 178932 BLAKE2B 16b438c7b494e90f7ec3af958dfbc20d11bccee0f0ac52dde23d1ee348e947be4503ebafb284227b25eb6e42deafca606b7f80094b0392081d30e17edf5d43ce SHA512 a1e38d50112a4f5db2785f6d229c45d591fd42aee3748b59ab23b47250c094258f304f26143c074a79928e0e9f5c7bc8d4d0944f72bd511206131f619377d7ae
diff --git a/media-libs/nvidia-vaapi-driver/metadata.xml b/media-libs/nvidia-vaapi-driver/metadata.xml
new file mode 100644
index 000000000..1edfb183a
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>denis7774@gmail.com</email>
+ <name>Denis Reva</name>
+ <description>rarogcmex</description>
+ </maintainer>
+ <longdescription lang="en">
+ This is an VA-API implementation that uses NVDEC as a backend. This implementation is specifically designed to be used by Firefox for accelerated decode of web content, and may not operate correctly in other applications.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">GPUOpen-Drivers/AMDVLK</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
new file mode 100644
index 000000000..3b2be0640
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="A VA-API implemention using NVIDIA's NVDEC, specifically designed to be used by Firefox"
+HOMEPAGE="https://github.com/elFarto/nvidia-vaapi-driver"
+SRC_URI="https://github.com/elFarto/nvidia-vaapi-driver/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-drivers/nvidia-drivers
+ media-libs/nv-codec-headers
+ media-libs/libva"
+RDEPEND="x11-drivers/nvidia-drivers
+ media-libs/gst-plugins-bad[egl]
+ media-libs/libva"
+BDEPEND="dev-util/meson"
+
+pkg_postinst() {
+ ewarn "This library requires special configuration! See "
+ ewarn "${HOMEPAGE}"
+ ewarn "The direct backend is currently required on NVIDIA driver series 525 due to a regression"
+ ewarn "See ${HOMEPAGE}/issues/126"
+}