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>