The ffplay binary is only built by default if SDL is present---which made
obtaining it a hit-and-miss operation for some users. A new option,
`--with-ffplay`, has been added that will cause ffplay to be built.
ffplay will be explicitly disabled if the option is not invoked.
FixesHomebrew/homebrew#6880.
Deprecated use_clang? etc. since the logic was such that multiple states could be set, when in reality only one compiler can be set.
Changed fails_with_llvm handling so if HOMEBREW_USE_LLVM is set then it tries to build even if the formula has fails_with_llvm set. Rationale: mostly they will no longer fail and we need to catch these cases.
Removing shared libraries from the FFmpeg build has broken a couple of formulae
that depend on it. This is because the shared libraries provided linker
information pertaining to the FFmpeg dependencies.
Re-enabling shared libraries fixes build issues FFmpeg-PHP (issue Homebrew/homebrew#6832) and
GRASS GIS.
Static libraries are still built.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1. Original ffmpeg developers have regained ffmpeg.org from
libav fork, so url and head links have been reset accordingly.
2. Fixed config.mak inreplace munging for 64-bit builds
(was breaking HEAD builds)
3. Changed version string generation to first try version.sh
script in git repo before falling back to 'git describe'
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This project is now known as libav upstream, but still compiles to "ffmpeg",
so add an alias. Also update the homepage and download urls.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
snow_leopard_64? (defined in Hardware) is a short-cut for:
MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
A formula using svn can now provide a spec:
:revisions => {...revision numbers...}
that contains a mapping of revision numbers to use
for externals.
The name of the external is keyed to the revision to
use for that external.
The symbol :trunk should be used to specify the reivsion
of the main repo.
An example from the Ffmpeg formula:
head 'svn://svn.ffmpeg.org/ffmpeg/trunk',
:revisions => { :trunk => 22916, 'libswscale' => 31045 }
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
The formula is 10.6 only because it compiles 64 bit, if you are a Leopard user
please patch! The MACOS_VERSION constant may be useful.
FFmpeg is a complete, cross-platform solution to record, convert and stream
audio and video. It includes libavcodec - the leading audio/video codec
library.