Adds 3 new flags, none of which change the default installation behavior.
* --enable-libfdk-aac
* --enable-openssl (system openssl is sufficient)
* --enable-libopus
ClosesHomebrew/homebrew#16539.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Add `--extra-cflags` using pkg-config to find openjpeg.
- The cflags fix a configure error.
- Add an option `with-schroedinger` for Dirac Video
FixesHomebrew/homebrew#15772FixesHomebrew/homebrew#15734ClosesHomebrew/homebrew#15791.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Two flags are necessary for Xcode-only systems: `--host-cflags` and
`--host-ldflags` are set to `ENV.cflags` and `ENV.ldflags`,
respectively.
ClosesHomebrew/homebrew#13344.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This patch compiles ffmpeg against libvo-aacenc (if installed) to
provide AAC encoding support - preferred by the maintainers over
libfaac.
ClosesHomebrew/homebrew#12231.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade ffmpeg to version 0.10.3 which includes many security
fixes and bugfixes. The changelog can be seen in their git repo
under the 0.10.3 tag, tree view, raw link to Changelog.
This still fails with llvm on Lion with undefined symbols. Using
clang all the the tools and ffplay compile and display an mkv
with sound using sdl.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ffmpeg when built as head checks if x264 is installed using
`Formula.factory.installed?` that won't find x264 stable as it looks for a HEAD
build. Switch from `.installed?` to `linked_keg.exist?` for all dependencies
as this will find them whether they are installed as head or stable.
FixesHomebrew/homebrew#11996.
ClosesHomebrew/homebrew#12020.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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>