media-libs/nvidia-vaapi-driver: new package

Installed but not tested. Work in progress

Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2023-03-03 15:36:04 +05:00
parent 203d5f0912
commit 345b9b2ee9
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nvidia-vaapi-driver-0.0.8.tar.gz 178932 BLAKE2B 16b438c7b494e90f7ec3af958dfbc20d11bccee0f0ac52dde23d1ee348e947be4503ebafb284227b25eb6e42deafca606b7f80094b0392081d30e17edf5d43ce SHA512 a1e38d50112a4f5db2785f6d229c45d591fd42aee3748b59ab23b47250c094258f304f26143c074a79928e0e9f5c7bc8d4d0944f72bd511206131f619377d7ae

View File

@@ -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>

View File

@@ -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"
}