diff --git a/srcpkgs/loudgain/patches/ffmpeg5.patch b/srcpkgs/loudgain/patches/ffmpeg5.patch new file mode 100644 index 00000000000..16d4510ee98 --- /dev/null +++ b/srcpkgs/loudgain/patches/ffmpeg5.patch @@ -0,0 +1,11 @@ +--- a/src/scan.c 2019-09-06 11:31:19.000000000 -0400 ++++ b/src/scan.c 2023-03-23 11:15:40.867968521 -0400 +@@ -69,8 +69,6 @@ + * It is now useless + * https://github.com/FFmpeg/FFmpeg/blob/70d25268c21cbee5f08304da95be1f647c630c15/doc/APIchanges#L86 + */ +- if (avformat_version() < AV_VERSION_INT(58,9,100)) +- av_register_all(); + + av_log_set_callback(scan_av_log); + diff --git a/srcpkgs/loudgain/template b/srcpkgs/loudgain/template index da4f2d56e94..8d6c6aeb772 100644 --- a/srcpkgs/loudgain/template +++ b/srcpkgs/loudgain/template @@ -1,10 +1,10 @@ # Template file for 'loudgain' pkgname=loudgain version=0.6.8 -revision=2 +revision=3 build_style=cmake hostmakedepends="pkg-config" -makedepends="libebur128-devel taglib-devel ffmpeg-devel" +makedepends="libebur128-devel taglib-devel ffmpeg6-devel" short_desc="ReplayGain 2.0 loudness normalizer" maintainer="Kartik Singh " license="BSD-2-Clause"