commit:     32e6708431fb6f480d145e8c67d60c586aceebe2
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 13:57:33 2017 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 13:58:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e67084

media-video/nvidia-video-codec: Initial ebuild

Redistributable nvenc and cuvid headers.

Package-Manager: portage-2.3.3

 media-video/nvidia-video-codec/Manifest            |  1 +
 media-video/nvidia-video-codec/metadata.xml        |  7 +++++++
 .../nvidia-video-codec-7.0.1.ebuild                | 24 ++++++++++++++++++++++
 3 files changed, 32 insertions(+)

diff --git a/media-video/nvidia-video-codec/Manifest 
b/media-video/nvidia-video-codec/Manifest
new file mode 100644
index 00000000..99aa217
--- /dev/null
+++ b/media-video/nvidia-video-codec/Manifest
@@ -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
index 00000000..106575f
--- /dev/null
+++ b/media-video/nvidia-video-codec/metadata.xml
@@ -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-vi...@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
index 00000000..5206ccb
--- /dev/null
+++ b/media-video/nvidia-video-codec/nvidia-video-codec-7.0.1.ebuild
@@ -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
+}

Reply via email to