media-libs/avidemux-core: Add support for NVIDIA Encoder (NVENC)
authorPeter Levine <plevine457@gmail.com>
Fri, 2 Jun 2017 03:13:07 +0000 (23:13 -0400)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 23 Jun 2017 05:35:35 +0000 (07:35 +0200)
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
media-libs/avidemux-core/metadata.xml

index 420ac6ab9db75a07bd913335b17839ec9156360b..3a659ab182e9ea12e426291807b6fdd164fbb36e 100644 (file)
@@ -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
index 422c7c72ff3891a34b2929ae508ca4927ea28a35..efad95d31008ec46f57ddb2f12c4420f8e523104 100644 (file)
@@ -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>