media-video/nvidia-video-codec: Initial ebuild
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 22 Jan 2017 13:57:33 +0000 (13:57 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 22 Jan 2017 13:58:41 +0000 (13:58 +0000)
Redistributable nvenc and cuvid headers.

Package-Manager: portage-2.3.3

media-video/nvidia-video-codec/Manifest [new file with mode: 0644]
media-video/nvidia-video-codec/metadata.xml [new file with mode: 0644]
media-video/nvidia-video-codec/nvidia-video-codec-7.0.1.ebuild [new file with mode: 0644]

diff --git a/media-video/nvidia-video-codec/Manifest b/media-video/nvidia-video-codec/Manifest
new file mode 100644 (file)
index 0000000..99aa217
--- /dev/null
@@ -0,0 +1 @@
+DIST nvidia-video-codec-7.0.1.tar.gz 44283 SHA256 c2e4c3404750ccdc9fedd050398e636f6016457adcc1280db8cc64f22cc8a9b9 SHA512 246e7fee4430f755ca93f1343d2628c5a6de8fdb5826694eabb777ec693f5fa944147a582a96fce38f318d1a9e60e94ca94ef4e27313e3b38970b750fa17d3b4 WHIRLPOOL cde180735508f2f61504ff9ec02a852e56e9888320b4846ea6de7fd2b3c23accc42734faa52a6dd65bbddd40d03d8bab0c6c0898078cdcafaa0dae44ef28f1e8
diff --git a/media-video/nvidia-video-codec/metadata.xml b/media-video/nvidia-video-codec/metadata.xml
new file mode 100644 (file)
index 0000000..106575f
--- /dev/null
@@ -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>
diff --git a/media-video/nvidia-video-codec/nvidia-video-codec-7.0.1.ebuild b/media-video/nvidia-video-codec/nvidia-video-codec-7.0.1.ebuild
new file mode 100644 (file)
index 0000000..5206ccb
--- /dev/null
@@ -0,0 +1,24 @@
+# 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
+}