ffmpeg-7 has changed API which causes build to fail: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c: In function ‘lqt_ffmpeg_decode_audio’: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:974:17: error: ‘AVCodecContext’ has no member named ‘channels’ 974 | codec->avctx->channels = quicktime_track_channels(file, track); | ^~ /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c: In function ‘lqt_ffmpeg_encode_audio’: /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:1205:17: error: ‘AVCodecContext’ has no member named ‘channels’ 1205 | codec->avctx->channels = channels; | ^~ /mnt/tmpfs/portage/media-libs/libquicktime-1.2.4-r5/work/libquicktime-1.2.4/plugins/ffmpeg/audio.c:1232:49: error: ‘AVCodecContext’ has no member named ‘channels’ 1232 | * codec->avctx->channels); | ^~ Builds fine with the ffmpeg7 patch from Arch Linux package comments (see URL).
Also 2 of the current ffmpeg patches in portage tree are applying with fuzz: * Applying libquicktime-1.2.4-ffmpeg29.patch ... patching file plugins/ffmpeg/video.c Hunk #6 succeeded at 402 with fuzz 2. Hunk #7 succeeded at 440 with fuzz 2. * Applying libquicktime-1.2.4-ffmpeg-codecs.patch ... patching file plugins/ffmpeg/audio.c Hunk #1 succeeded at 631 (offset 5 lines). Hunk #2 succeeded at 700 (offset 5 lines). Hunk #3 succeeded at 811 (offset 5 lines). Hunk #4 succeeded at 871 (offset 5 lines). Hunk #5 succeeded at 914 (offset 5 lines). Hunk #6 succeeded at 991 (offset 5 lines). Hunk #7 succeeded at 1000 (offset 5 lines). Hunk #8 succeeded at 1500 (offset 5 lines). patching file plugins/ffmpeg/video.c Hunk #1 succeeded at 400 with fuzz 2. Hunk #2 succeeded at 438 with fuzz 2.
AUR comments have a patch: https://aur.archlinux.org/packages/libquicktime#comment-981600
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1b06001236755c7c8adf2523343afae1e48789 commit 9c1b06001236755c7c8adf2523343afae1e48789 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-03-12 00:52:52 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-03-12 10:11:42 +0000 media-libs/libquicktime: use ffmpeg-compat Seems patches are going around, but not planning to test this myself, also feel that this package should just be last-rited instead. Given no code changes, plans are to sync keywords back with stable when ready. Bug: https://bugs.gentoo.org/942966 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../libquicktime/libquicktime-1.2.4-r6.ebuild | 131 +++++++++++++++++++++ 1 file changed, 131 insertions(+)