cmus: add comment about ffmpeg 8 compatibility

This commit is contained in:
i0ntempest
2026-06-21 03:27:12 +08:00
parent 9e38061124
commit a0b7898716
+3 -1
View File
@@ -121,13 +121,15 @@ variant opus description {Support Opus files} {
}
variant ffmpeg description {Support ffmpeg} {
# do not update to 8 yet
# ip/ffmpeg.c:229:3: error: call to undeclared function 'avcodec_close'
set ffmpeg_ver 7
depends_lib-append path:libexec/ffmpeg${ffmpeg_ver}/lib/libavcodec.dylib:ffmpeg${ffmpeg_ver}
configure.pkg_config_path-prepend \
${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
configure.args-delete CONFIG_FFMPEG=n
configure.args-append CONFIG_FFMPEG=y
# Without these build process links ffmpeg v4 if present
# Without these build process links the main ffmpeg port if present
# With these present the build env line above is redundant, but I'm keeping it anyways
configure.cflags-prepend \
-I${prefix}/libexec/ffmpeg${ffmpeg_ver}/include