diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-04-01 16:45:42 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-04-01 17:36:40 +0200 |
commit | 2906bfc71b0870cd172be73e9c4ec0f4c48bebf7 (patch) | |
tree | d270181437da3380e708a54998cb0f3a3c7af0ea /media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild | |
parent | media-video/ffmpeg: bump to 4.1.3 (diff) | |
download | gentoo-2906bfc71b0870cd172be73e9c4ec0f4c48bebf7.tar.gz gentoo-2906bfc71b0870cd172be73e9c4ec0f4c48bebf7.tar.bz2 gentoo-2906bfc71b0870cd172be73e9c4ec0f4c48bebf7.zip |
media-libs/nv-codec-headers: bump to 9.0.18.1
Closes: https://bugs.gentoo.org/672844
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild')
-rw-r--r-- | media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild new file mode 100644 index 000000000000..ccb9128d4c71 --- /dev/null +++ b/media-libs/nv-codec-headers/nv-codec-headers-9.0.18.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=x11-drivers/nvidia-drivers-390.25[${MULTILIB_USEDEP}] +" + +S="${WORKDIR}/${PN}-n${PV}" + +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 +} |