commit:     e217c8c785e711fc69680129a5701cd00d800786
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 16:10:42 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 20:33:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e217c8c7

media-video/obs-studio: Support ffmpeg 4

The USE="nvenc" in '>=media-video/ffmpeg-4' has been replaced with
'video_cards_nvidia'.

Closes: https://bugs.gentoo.org/671084
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 media-video/obs-studio/obs-studio-21.1.2.ebuild | 7 ++++++-
 media-video/obs-studio/obs-studio-22.0.3.ebuild | 7 ++++++-
 media-video/obs-studio/obs-studio-9999.ebuild   | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/media-video/obs-studio/obs-studio-21.1.2.ebuild 
b/media-video/obs-studio/obs-studio-21.1.2.ebuild
index ca9114ce291..aa981e49491 100644
--- a/media-video/obs-studio/obs-studio-21.1.2.ebuild
+++ b/media-video/obs-studio/obs-studio-21.1.2.ebuild
@@ -46,7 +46,12 @@ COMMON_DEPEND="
        imagemagick? ( media-gfx/imagemagick:= )
        jack? ( virtual/jack )
        luajit? ( dev-lang/luajit:2 )
-       nvenc? ( media-video/ffmpeg:=[nvenc] )
+       nvenc? (
+               || (
+                       <media-video/ffmpeg-4[nvenc]
+                       >=media-video/ffmpeg-4[video_cards_nvidia]
+               )
+       )
        pulseaudio? ( media-sound/pulseaudio )
        python? ( ${PYTHON_DEPS} )
        speex? ( media-libs/speexdsp )

diff --git a/media-video/obs-studio/obs-studio-22.0.3.ebuild 
b/media-video/obs-studio/obs-studio-22.0.3.ebuild
index 7bd98fa4213..a2403c9502a 100644
--- a/media-video/obs-studio/obs-studio-22.0.3.ebuild
+++ b/media-video/obs-studio/obs-studio-22.0.3.ebuild
@@ -46,7 +46,12 @@ COMMON_DEPEND="
        imagemagick? ( media-gfx/imagemagick:= )
        jack? ( virtual/jack )
        luajit? ( dev-lang/luajit:2 )
-       nvenc? ( media-video/ffmpeg:=[nvenc] )
+       nvenc? (
+               || (
+                       <media-video/ffmpeg-4[nvenc]
+                       >=media-video/ffmpeg-4[video_cards_nvidia]
+               )
+       )
        pulseaudio? ( media-sound/pulseaudio )
        python? ( ${PYTHON_DEPS} )
        speex? ( media-libs/speexdsp )

diff --git a/media-video/obs-studio/obs-studio-9999.ebuild 
b/media-video/obs-studio/obs-studio-9999.ebuild
index a596540a779..991fa7ae991 100644
--- a/media-video/obs-studio/obs-studio-9999.ebuild
+++ b/media-video/obs-studio/obs-studio-9999.ebuild
@@ -46,7 +46,12 @@ COMMON_DEPEND="
        imagemagick? ( media-gfx/imagemagick:= )
        jack? ( virtual/jack )
        luajit? ( dev-lang/luajit:2 )
-       nvenc? ( media-video/ffmpeg:=[nvenc(+),video_cards_nvidia(+)] )
+       nvenc? (
+               || (
+                       <media-video/ffmpeg-4[nvenc]
+                       >=media-video/ffmpeg-4[video_cards_nvidia]
+               )
+       )
        pulseaudio? ( media-sound/pulseaudio )
        python? ( ${PYTHON_DEPS} )
        speex? ( media-libs/speexdsp )

Reply via email to