media-libs/nvidia-vaapi-driver: changed installation directory to proper ones

used patch from tatsh-overlay

https://github.com/Tatsh/tatsh-overlay/tree/master/media-plugins/nvidia-vaapi-driver
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2023-03-09 12:10:27 +05:00
parent fe197413a8
commit 86deaed7cb
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# 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"
PATCHES=( "${FILESDIR}/${PN}-0.0.8-install-path.patch" )
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"
}