[MacPorts] #60947: ffmpeg: can't build +universal since dependency on dav1d was added and has no universal variant

MacPorts noreply at macports.org
Thu Aug 6 03:34:59 UTC 2020


#60947: ffmpeg: can't build +universal since dependency on dav1d was added and has
no universal variant
---------------------+----------------------
  Reporter:  kencu   |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  ffmpeg  |
---------------------+----------------------

Comment (by kencu):

 so, exactly, do this:
 {{{
 bbedit `port file ffmpeg`
 }}}
 and make these changes
 {{{
 diff --git a/multimedia/ffmpeg/Portfile b/multimedia/ffmpeg/Portfile
 index 80750e89cae..dab5a78c3bb 100644
 --- a/multimedia/ffmpeg/Portfile
 +++ b/multimedia/ffmpeg/Portfile
 @@ -65,8 +65,7 @@ depends_build       port:pkgconfig \
                      port:ld64 \
                      port:texinfo

 -depends_lib         port:dav1d \
 -                    port:lame \
 +depends_lib         port:lame \
                      port:libiconv \
                      port:libvorbis \
                      port:libopus \
 @@ -118,7 +117,6 @@ configure.cflags-append -DHAVE_LRINTF
 ${configure.cppflags}
  configure.args      --enable-swscale \
                      --enable-avfilter \
                      --enable-avresample \
 -                    --enable-libdav1d \
                      --enable-libmp3lame \
                      --enable-libvorbis \
                      --enable-libopus \
 }}}
 then save the file, and install {{{ffmpeg}}} and you are in business.

-- 
Ticket URL: <https://trac.macports.org/ticket/60947#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list