commit: bcdef46f12abd95afb297cdf9485de862d555e30 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 10 08:56:42 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 10 09:00:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcdef46f
media-libs/avidemux-core: add nvenc support Closes: https://bugs.gentoo.org/890332 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{avidemux-core-2.8.1.ebuild => avidemux-core-2.8.1-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-libs/avidemux-core/avidemux-core-2.8.1.ebuild b/media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild similarity index 94% rename from media-libs/avidemux-core/avidemux-core-2.8.1.ebuild rename to media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild index eb19d053c01b..bc742a9bb980 100644 --- a/media-libs/avidemux-core/avidemux-core-2.8.1.ebuild +++ b/media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild @@ -15,12 +15,13 @@ SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${ LICENSE="GPL-2 MIT PSF-2 LGPL-2 OFL-1.1" SLOT="2.7" KEYWORDS="~amd64 ~x86" -IUSE="debug nls sdl system-ffmpeg vaapi vdpau xv" +IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv" # Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed? DEPEND=" dev-db/sqlite:3 sys-libs/zlib + nvenc? ( amd64? ( media-libs/nv-codec-headers ) ) sdl? ( media-libs/libsdl ) system-ffmpeg? ( >=media-video/ffmpeg-9:0[mp3,theora] ) vaapi? ( media-libs/libva:= ) @@ -81,6 +82,7 @@ src_configure() { -DNVENC=no -DSDL="$(usex sdl)" -DLIBVA="$(usex vaapi)" + -DNVENC="$(usex nvenc)" -DVDPAU="$(usex vdpau)" -DXVIDEO="$(usex xv)" )
