summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-06-01 23:13:07 -0400
committerAlexis Ballier <aballier@gentoo.org>2017-06-23 07:35:35 +0200
commit8cfb17422ddbf5abd3184f4b1f0152057bb8be59 (patch)
tree95d1660b98a6d43d6a931288ce43cd1757b38c6a /media-libs/avidemux-core
parentmedia-libs/avidemux-core: Declare 'mycmakeargs' as an array (diff)
downloadgentoo-8cfb17422ddbf5abd3184f4b1f0152057bb8be59.tar.gz
gentoo-8cfb17422ddbf5abd3184f4b1f0152057bb8be59.tar.bz2
gentoo-8cfb17422ddbf5abd3184f4b1f0152057bb8be59.zip
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
Diffstat (limited to 'media-libs/avidemux-core')
-rw-r--r--media-libs/avidemux-core/avidemux-core-9999.ebuild3
-rw-r--r--media-libs/avidemux-core/metadata.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild b/media-libs/avidemux-core/avidemux-core-9999.ebuild
index 420ac6ab9db7..3a659ab182e9 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 422c7c72ff38..efad95d31008 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>