From 820f109bd2ccce6c9123fd4df490152a347aebea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 31 Dec 2020 21:22:17 +0000 Subject: media-libs/nv-codec-headers : import from gentoo, drop dependency on nvidia-drivers --- .../nv-codec-headers-10.0.26.1-r10.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild (limited to 'media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild') diff --git a/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild new file mode 100644 index 00000000..6612d6f5 --- /dev/null +++ b/media-libs/nv-codec-headers/nv-codec-headers-10.0.26.1-r10.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 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" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +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 +} -- cgit v1.2.3