[MacPorts] #49841: Building ffmpeg with avfoundation on OSX Lion

MacPorts noreply at macports.org
Sun Nov 18 01:05:25 UTC 2018


#49841: Building ffmpeg with avfoundation on OSX Lion
-----------------------------------+----------------------
  Reporter:  p.ohanlon@…           |      Owner:  dbevans
      Type:  enhancement           |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:
      Port:  ffmpeg, ffmpeg-devel  |
-----------------------------------+----------------------

Comment (by kencu):

 I built this on 10.7 today, enabling avfoundation like this:
 {{{
     # kCVPixelFormatType_OneComponent8 used in avfoundation indev is only
 available on 10.8+
     if {${os.major} < 12} {
 #        configure.args-append --disable-indev=avfoundation
     }
 }}}
 So the OP is right, this builds on 10.7 with clang without any trouble. I
 didn't force the compiler, current MacPorts defaults led 10.7 to use
 `/usr/bin/clang`. Log attached.

 Looks like the test can be changed to `${os.major} < 11` at least...

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


More information about the macports-tickets mailing list