commit:     e19fc477b916f87a5514e374064f964009e76470
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Sat Jan 13 16:14:41 2024 +0000
Commit:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
CommitDate: Sat Jan 13 16:14:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e19fc477

media-sound/loudgain: restrict ffmpeg dep to <5

It seems like `av_register_all` is not available in ffmpeg-6, and
I'm not sure loudgain would work without issues with ffmpeg-6.

Closes: https://bugs.gentoo.org/922026
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 .../loudgain/{loudgain-0.6.8.ebuild => loudgain-0.6.8-r1.ebuild}  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-sound/loudgain/loudgain-0.6.8.ebuild 
b/media-sound/loudgain/loudgain-0.6.8-r1.ebuild
similarity index 62%
rename from media-sound/loudgain/loudgain-0.6.8.ebuild
rename to media-sound/loudgain/loudgain-0.6.8-r1.ebuild
index 550bb844e6..44e8048d0e 100644
--- a/media-sound/loudgain/loudgain-0.6.8.ebuild
+++ b/media-sound/loudgain/loudgain-0.6.8-r1.ebuild
@@ -15,8 +15,14 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 #REQUIRED_USE=""
 
+# Bug 922026: `av_register_all` is deprecated and maybe not present in ffmpeg-6
+# (changelog: 
<https://github.com/FFmpeg/FFmpeg/blob/70d25268c21cbee5f08304da95be1f647c630c15/doc/APIchanges#L86>).
+# <https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html> says 
these
+# functions "don't do anything" so simply removing these call would work. 
However,
+# loudgain is not updated for some years and I (ebuild maintainer) am not sure
+# if it would work with ffmpeg-6, so restricting to <ffmpeg-5 here.
 COMMON_DEPEND="
-       media-video/ffmpeg
+       <media-video/ffmpeg-5
        media-libs/libebur128
        media-libs/taglib
 "

Reply via email to