Skip to content

Commit

Permalink
cmus: backport PR fixing version check for new api
Browse files Browse the repository at this point in the history
  • Loading branch information
i0ntempest committed May 13, 2024
1 parent 1d5a876 commit 353d699
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions audio/cmus/Portfile
Expand Up @@ -8,7 +8,7 @@ PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.0

github.setup cmus cmus 2.11.0 v
revision 0
revision 1
categories audio
maintainers {@Traace hotmail.de:xxtraacexx} \
openmaintainer
Expand Down Expand Up @@ -125,9 +125,10 @@ variant ffmpeg description {Support ffmpeg} {
${prefix}/libexec/ffmpeg6/lib/pkgconfig
configure.args-delete CONFIG_FFMPEG=n
configure.args-append CONFIG_FFMPEG=y
# Revert commit 3a7d9ee which causes configure failure
# See https://github.com/cmus/cmus/issues/1329
patchfiles-append patch-revert-new-channel-layout.diff
# https://github.com/cmus/cmus/pull/1330
post-patch {
reinplace "s|LIBAVCODEC_VERSION_MAJOR >= 58|LIBAVCODEC_VERSION_MAJOR >= 60|g" ip/ffmpeg.c
}
}

variant cdda description {Support audio CD playback} {
Expand Down

0 comments on commit 353d699

Please sign in to comment.