diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-21 23:55:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-21 23:55:33 +0100 |
commit | d7858162e0e3c38fd34d75df9f7ea5ee124d0fe6 (patch) | |
tree | c4e31f2596e0d952dac8f04bb0e847e8be3c4ccd /media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild | |
parent | b0aa9788dba59e8d4507eef9ed3f33c652c71a6a (diff) |
media-libs/nv-codec-headers : version bump
Diffstat (limited to 'media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild')
-rw-r--r-- | media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild new file mode 100644 index 00000000..a00618c3 --- /dev/null +++ b/media-libs/nv-codec-headers/nv-codec-headers-11.1.5.0-r10.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="FFmpeg version of headers required to interface with Nvidias codec APIs" +HOMEPAGE="https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git" +SRC_URI="https://github.com/FFmpeg/nv-codec-headers/releases/download/n${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=x11-drivers/nvidia-drivers-470.57.02[${MULTILIB_USEDEP}]" + +src_prepare() { + multilib_copy_sources + default +} + +multilib_src_compile() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" +} + +multilib_src_install() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install +} |