You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
cmus: add comment about ffmpeg 8 compatibility
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user