summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-10 08:56:42 +0000
committerSam James <sam@gentoo.org>2023-01-10 09:00:00 +0000
commitbcdef46f12abd95afb297cdf9485de862d555e30 (patch)
treec806e5af9f0abd975ea1f18551ae5d3d16be1f95
parentdev-python/watchdog: drop 2.1.9 (diff)
downloadgentoo-bcdef46f12abd95afb297cdf9485de862d555e30.tar.gz
gentoo-bcdef46f12abd95afb297cdf9485de862d555e30.tar.bz2
gentoo-bcdef46f12abd95afb297cdf9485de862d555e30.zip
media-libs/avidemux-core: add nvenc support
Closes: https://bugs.gentoo.org/890332 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/avidemux-core/avidemux-core-2.8.1-r1.ebuild (renamed from media-libs/avidemux-core/avidemux-core-2.8.1.ebuild)4
1 files changed, 3 insertions, 1 deletions
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
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)"
)