commit:     8cfb17422ddbf5abd3184f4b1f0152057bb8be59
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Fri Jun  2 03:13:07 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 05:35:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfb1742

media-libs/avidemux-core: Add support for NVIDIA Encoder (NVENC)

media-video/ffmpeg already uses it and latest media-libs/avidemux-core now 
supports it.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/avidemux-core/avidemux-core-9999.ebuild | 3 ++-
 media-libs/avidemux-core/metadata.xml              | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild 
b/media-libs/avidemux-core/avidemux-core-9999.ebuild
index 420ac6ab9db..3a659ab182e 100644
--- a/media-libs/avidemux-core/avidemux-core-9999.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-9999.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fixounet.free.fr/avidemux";
 
 # Multiple licenses because of all the bundled stuff.
 LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
-IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv"
 KEYWORDS="~amd64 ~x86"
 
 MY_PN="${PN/-core/}"
@@ -93,6 +93,7 @@ src_configure() {
                $(cmake-utils_use vdpau VDPAU)
                $(cmake-utils_use video_cards_fglrx XVBA)
                $(cmake-utils_use xv XVIDEO)
+               $(cmake-utils_use nvenc NVENC)
        )
 
        if use debug ; then

diff --git a/media-libs/avidemux-core/metadata.xml 
b/media-libs/avidemux-core/metadata.xml
index 422c7c72ff3..efad95d3100 100644
--- a/media-libs/avidemux-core/metadata.xml
+++ b/media-libs/avidemux-core/metadata.xml
@@ -6,6 +6,7 @@
     <name>Gentoo Video project</name>
   </maintainer>
   <use>
+    <flag name="nvenc">Adds support for NVIDIA Encoder (NVENC) API for 
hardware accelerated encoding on NVIDIA cards.</flag>
     <flag name="system-ffmpeg">Use the ffmpeg provided by the system.</flag>
   </use>
   <upstream>

Reply via email to