Redistributable nvenc and cuvid headers.
Package-Manager: portage-2.3.3
--- /dev/null
+DIST nvidia-video-codec-7.0.1.tar.gz 44283 SHA256 c2e4c3404750ccdc9fedd050398e636f6016457adcc1280db8cc64f22cc8a9b9 SHA512 246e7fee4430f755ca93f1343d2628c5a6de8fdb5826694eabb777ec693f5fa944147a582a96fce38f318d1a9e60e94ca94ef4e27313e3b38970b750fa17d3b4 WHIRLPOOL cde180735508f2f61504ff9ec02a852e56e9888320b4846ea6de7fd2b3c23accc42734faa52a6dd65bbddd40d03d8bab0c6c0898078cdcafaa0dae44ef28f1e8
--- /dev/null
+<?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>
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Redistributable headers to build cuvid and nvenc"
+HOMEPAGE="https://github.com/lu-zero/nvidia-video-codec"
+SRC_URI="https://github.com/lu-zero/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-util/nvidia-cuda-toolkit-7.5
+ >=x11-drivers/nvidia-drivers-367.35"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ insinto /opt/${PN}/include
+ doins *.h
+ dodoc README.md
+}