media-libs/nv-codec-headers: initial import

Bug: https://bugs.gentoo.org/653378
Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
Alexis Ballier
2018-04-22 12:21:54 +02:00
parent f77c16cc90
commit 2e5fc407c8
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nv-codec-headers-8.1.24.1.tar.xz 44672 BLAKE2B 52bd3d7abe6887b270c3c04c5416fb481f77c4b4516527e0439681460e69e3a5a288ddad8e752a111b3109fbde4dae78c0660892a8ee8b284d1b06b32eb92ea8 SHA512 aa63141d234c0bd5f9cb7f568c54a10119e3f0270f7c344030c684865ef0f33106f1a45ce59dd8189c3b7493ee1522f9ba558a667d75bea68b738522e7dc1d11

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2018 Gentoo Foundation
# 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="mirror://gentoo/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
>=x11-drivers/nvidia-drivers-390.25[${MULTILIB_USEDEP}]
"
# Snapshot from:
# EGIT_REPO_URI="https://git.videolan.org/git/ffmpeg/nv-codec-headers.git"
# EGIT_COMMIT="n${PV}"
S="${WORKDIR}/${PN}"
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
}