public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/nvenc/
@ 2015-10-24 11:32 Alexis Ballier
  0 siblings, 0 replies; 3+ messages in thread
From: Alexis Ballier @ 2015-10-24 11:32 UTC (permalink / raw
  To: gentoo-commits

commit:     78cc1323c1b1885b04bfb451a0416a6c1a048c05
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 24 11:30:24 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 24 11:32:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cc1323

media-video/nvenc: Initial import. Ebuild by me.

Package-Manager: portage-2.2.23

 media-video/nvenc/Manifest           |  1 +
 media-video/nvenc/metadata.xml       | 12 ++++++++
 media-video/nvenc/nvenc-5.0.1.ebuild | 57 ++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+)

diff --git a/media-video/nvenc/Manifest b/media-video/nvenc/Manifest
new file mode 100644
index 0000000..51661d5
--- /dev/null
+++ b/media-video/nvenc/Manifest
@@ -0,0 +1 @@
+DIST nvenc_5.0.1_sdk.zip 96524757 SHA256 0e9c575b4cf94bda3ae22cfaa4ce9eb931e566cc2046c3db63b92cbda5edf22d SHA512 ba6b61a2dad97c206ac0f7f72395b0ca0fc52ee2b82b0e662cb3dcf983af8c3b43f7d369d77e7c974fa310346d73620332fa3d1251e7aa503da66f2ba5654417 WHIRLPOOL ce012b578942d8494923b3189e34c34bd3e2ec54543aed3b6d5978729c7c892061268a5dfff47222e64d0ba9c806dd2b04033a98f20dbc89814012ab9d6366d8

diff --git a/media-video/nvenc/metadata.xml b/media-video/nvenc/metadata.xml
new file mode 100644
index 0000000..4e01343
--- /dev/null
+++ b/media-video/nvenc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>video</herd>
+  <maintainer>
+    <email>media-video@gentoo.org</email>
+  </maintainer>
+  <use>
+	<flag name="tools">Build and install example tools.</flag>
+	<flag name="samples">Install video samples to use with the tools.</flag>
+  </use>
+</pkgmetadata>

diff --git a/media-video/nvenc/nvenc-5.0.1.ebuild b/media-video/nvenc/nvenc-5.0.1.ebuild
new file mode 100644
index 0000000..22d16cb
--- /dev/null
+++ b/media-video/nvenc/nvenc-5.0.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator toolchain-funcs
+
+MY_P="${PN}_${PV}_sdk"
+
+DESCRIPTION="NVIDIA Encoder (NVENC) API"
+HOMEPAGE="https://developer.nvidia.com/nvidia-video-codec-sdk"
+SRC_URI="http://developer.download.nvidia.com/compute/nvenc/v$(get_version_component_range "1-2")/${MY_P}.zip"
+
+LICENSE="NVIDIA-CODEC-SDK"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+tools samples"
+
+RDEPEND=">=dev-util/nvidia-cuda-toolkit-6.5"
+DEPEND="${RDEPEND}
+	app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+TOOLS="NvEncoder NvEncoderPerf NvTranscoder"
+
+src_compile() {
+	if use tools ; then
+		export CUDA_PATH=/opt/cuda
+		export EXTRA_LDFLAGS="${LDFLAGS}"
+		for i in ${TOOLS} ; do
+			pushd "${S}/Samples/${i}" || die
+			emake GCC="$(tc-getCXX)" CCFLAGS="${CXXFLAGS}"
+			popd
+		done
+	fi
+}
+
+src_install() {
+	if use tools ; then
+		for i in ${TOOLS}; do
+			dobin "${S}/Samples/${i}/${i}"
+		done
+	fi
+
+	dodoc doc/*.pdf
+
+	if use samples ; then
+		dodoc Samples/NVENC_Samples_Guide.pdf
+		insinto /usr/share/${PN}
+		doins -r Samples/YUV
+	fi
+
+	insinto /usr/include
+	doins Samples/common/inc/nv*.h
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-video/nvenc/
@ 2015-10-26 13:41 Alexis Ballier
  0 siblings, 0 replies; 3+ messages in thread
From: Alexis Ballier @ 2015-10-26 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     3be28cd471ddc7b494ae3dbe7e241ea1b2f223ae
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 13:41:37 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 13:41:45 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be28cd4

media-video/nvenc: Add dep on nvidia-drivers and depend on cuda-toolkit only with tools useflag

Package-Manager: portage-2.2.23

 media-video/nvenc/{nvenc-5.0.1.ebuild => nvenc-5.0.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-video/nvenc/nvenc-5.0.1.ebuild b/media-video/nvenc/nvenc-5.0.1-r1.ebuild
similarity index 92%
rename from media-video/nvenc/nvenc-5.0.1.ebuild
rename to media-video/nvenc/nvenc-5.0.1-r1.ebuild
index 22d16cb..27357de 100644
--- a/media-video/nvenc/nvenc-5.0.1.ebuild
+++ b/media-video/nvenc/nvenc-5.0.1-r1.ebuild
@@ -17,7 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="+tools samples"
 
-RDEPEND=">=dev-util/nvidia-cuda-toolkit-6.5"
+RDEPEND=">=x11-drivers/nvidia-drivers-347.09
+	tools? ( >=dev-util/nvidia-cuda-toolkit-6.5 )"
 DEPEND="${RDEPEND}
 	app-arch/unzip"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-video/nvenc/
@ 2016-01-24 13:47 Alexis Ballier
  0 siblings, 0 replies; 3+ messages in thread
From: Alexis Ballier @ 2016-01-24 13:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1d8c88748760eb0b3355547ce21b337e9589eb99
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 13:47:22 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:47:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8c8874

media-video/nvenc: Remove it. Moved to media-video/nvidia_video_sdk.

 media-video/nvenc/Manifest              |  1 -
 media-video/nvenc/metadata.xml          | 12 -------
 media-video/nvenc/nvenc-5.0.1-r1.ebuild | 58 ---------------------------------
 3 files changed, 71 deletions(-)

diff --git a/media-video/nvenc/Manifest b/media-video/nvenc/Manifest
deleted file mode 100644
index 51661d5..0000000
--- a/media-video/nvenc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nvenc_5.0.1_sdk.zip 96524757 SHA256 0e9c575b4cf94bda3ae22cfaa4ce9eb931e566cc2046c3db63b92cbda5edf22d SHA512 ba6b61a2dad97c206ac0f7f72395b0ca0fc52ee2b82b0e662cb3dcf983af8c3b43f7d369d77e7c974fa310346d73620332fa3d1251e7aa503da66f2ba5654417 WHIRLPOOL ce012b578942d8494923b3189e34c34bd3e2ec54543aed3b6d5978729c7c892061268a5dfff47222e64d0ba9c806dd2b04033a98f20dbc89814012ab9d6366d8

diff --git a/media-video/nvenc/metadata.xml b/media-video/nvenc/metadata.xml
deleted file mode 100644
index 4e01343..0000000
--- a/media-video/nvenc/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <herd>video</herd>
-  <maintainer>
-    <email>media-video@gentoo.org</email>
-  </maintainer>
-  <use>
-	<flag name="tools">Build and install example tools.</flag>
-	<flag name="samples">Install video samples to use with the tools.</flag>
-  </use>
-</pkgmetadata>

diff --git a/media-video/nvenc/nvenc-5.0.1-r1.ebuild b/media-video/nvenc/nvenc-5.0.1-r1.ebuild
deleted file mode 100644
index 27357de..0000000
--- a/media-video/nvenc/nvenc-5.0.1-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit versionator toolchain-funcs
-
-MY_P="${PN}_${PV}_sdk"
-
-DESCRIPTION="NVIDIA Encoder (NVENC) API"
-HOMEPAGE="https://developer.nvidia.com/nvidia-video-codec-sdk"
-SRC_URI="http://developer.download.nvidia.com/compute/nvenc/v$(get_version_component_range "1-2")/${MY_P}.zip"
-
-LICENSE="NVIDIA-CODEC-SDK"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+tools samples"
-
-RDEPEND=">=x11-drivers/nvidia-drivers-347.09
-	tools? ( >=dev-util/nvidia-cuda-toolkit-6.5 )"
-DEPEND="${RDEPEND}
-	app-arch/unzip"
-
-S="${WORKDIR}/${MY_P}"
-
-TOOLS="NvEncoder NvEncoderPerf NvTranscoder"
-
-src_compile() {
-	if use tools ; then
-		export CUDA_PATH=/opt/cuda
-		export EXTRA_LDFLAGS="${LDFLAGS}"
-		for i in ${TOOLS} ; do
-			pushd "${S}/Samples/${i}" || die
-			emake GCC="$(tc-getCXX)" CCFLAGS="${CXXFLAGS}"
-			popd
-		done
-	fi
-}
-
-src_install() {
-	if use tools ; then
-		for i in ${TOOLS}; do
-			dobin "${S}/Samples/${i}/${i}"
-		done
-	fi
-
-	dodoc doc/*.pdf
-
-	if use samples ; then
-		dodoc Samples/NVENC_Samples_Guide.pdf
-		insinto /usr/share/${PN}
-		doins -r Samples/YUV
-	fi
-
-	insinto /usr/include
-	doins Samples/common/inc/nv*.h
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-24 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26 13:41 [gentoo-commits] repo/gentoo:master commit in: media-video/nvenc/ Alexis Ballier
  -- strict thread matches above, loose matches on Subject: below --
2016-01-24 13:47 Alexis Ballier
2015-10-24 11:32 Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox