1 |
commit: 8cfb17422ddbf5abd3184f4b1f0152057bb8be59 |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jun 2 03:13:07 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 23 05:35:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfb1742 |
7 |
|
8 |
media-libs/avidemux-core: Add support for NVIDIA Encoder (NVENC) |
9 |
|
10 |
media-video/ffmpeg already uses it and latest media-libs/avidemux-core now supports it. |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
13 |
|
14 |
media-libs/avidemux-core/avidemux-core-9999.ebuild | 3 ++- |
15 |
media-libs/avidemux-core/metadata.xml | 1 + |
16 |
2 files changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild b/media-libs/avidemux-core/avidemux-core-9999.ebuild |
19 |
index 420ac6ab9db..3a659ab182e 100644 |
20 |
--- a/media-libs/avidemux-core/avidemux-core-9999.ebuild |
21 |
+++ b/media-libs/avidemux-core/avidemux-core-9999.ebuild |
22 |
@@ -12,7 +12,7 @@ HOMEPAGE="http://fixounet.free.fr/avidemux" |
23 |
|
24 |
# Multiple licenses because of all the bundled stuff. |
25 |
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" |
26 |
-IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv" |
27 |
+IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv" |
28 |
KEYWORDS="~amd64 ~x86" |
29 |
|
30 |
MY_PN="${PN/-core/}" |
31 |
@@ -93,6 +93,7 @@ src_configure() { |
32 |
$(cmake-utils_use vdpau VDPAU) |
33 |
$(cmake-utils_use video_cards_fglrx XVBA) |
34 |
$(cmake-utils_use xv XVIDEO) |
35 |
+ $(cmake-utils_use nvenc NVENC) |
36 |
) |
37 |
|
38 |
if use debug ; then |
39 |
|
40 |
diff --git a/media-libs/avidemux-core/metadata.xml b/media-libs/avidemux-core/metadata.xml |
41 |
index 422c7c72ff3..efad95d3100 100644 |
42 |
--- a/media-libs/avidemux-core/metadata.xml |
43 |
+++ b/media-libs/avidemux-core/metadata.xml |
44 |
@@ -6,6 +6,7 @@ |
45 |
<name>Gentoo Video project</name> |
46 |
</maintainer> |
47 |
<use> |
48 |
+ <flag name="nvenc">Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards.</flag> |
49 |
<flag name="system-ffmpeg">Use the ffmpeg provided by the system.</flag> |
50 |
</use> |
51 |
<upstream> |