[MacPorts] #52875: ffmpeg @3.2 will not build on Leopard i386 nor PPC

MacPorts noreply at macports.org
Mon Nov 14 10:10:32 CET 2016


#52875: ffmpeg @3.2 will not build on Leopard i386 nor PPC
------------------------------+--------------------------------
 Reporter:  arboz             |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.3.4
 Keywords:  leopard haspatch  |       Port:  ffmpeg at 3.2
------------------------------+--------------------------------
 Naturally this is due to the upgrade for libsdl to libsdl2.
 Libsdl will not build without access to the Lion OSX 10.7.sdk

 as it turns out ffmpeg can build without libsdl2
 You won't get ffplayer maybe a ''few'' more tools

 however the main ffmpeg executable with full access to all the usual
 codecs can be built

 In looking through the config file there is a switch to turn off using
 libsdl and libsdl2
 however during configuration, if libsdl2 is not found, it simply does not
 make those tools

 you will see in the log

 {{{

 :info:configure Enabled programs:
 :info:configure ffmpeg                  ffprobe                 ffserver
 }}}

 At the same time, there is a compiled binary for sdl2 that is supposed to
 work with Leopard i386.  It is packaged as a framework.  I didn't yet get
 to just drop it into /Library/Frameworks and then see if it is found or
 not...

 So in the meantime, after successfully compiling and then spending the few
 days getting libunwind to compile correctly (-forcing clang-3.7) I di a
 fresh selfupdate and
 found libsdl2 attempting to compile and of course failing.

 I re-applied my changes to the ffmpeg portfile

 and cleaned libsdl2 out of the way.

 I submit the patch for your review
 I suspect there is a more correct way to do this, but it moves libsdl2 out
 of the way for me.

--
Ticket URL: <https://trac.macports.org/ticket/52875>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list