libvpx-1.1.0 has a problem on Mt. Lion where an asm file is not
created due to an extra operator in a regular expression, where
the file `asm_enc_offsets.asm` goes missing.
Add a patch to fix the regular expression. See the issue and
formula comments for links to the analysis.
Remove the unneeded `--disable-debug` and `--enable-vp8` flags
because they are the default.
Tested on Snow Leopard, Lion, and Mt. Lion using XCode-4.0.2, 4.3.3,
and 4.5.
FixesHomebrew/homebrew#12567
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade libvpx to version 1.1.0.
Remove the patches and inreplace. Both are fixed in this version.
It correctly checks before trying to add `-isysroot`, and it uses
the correct target for your OS.
ClosesHomebrew/homebrew#12307.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Adjust the formula for libvpx to determine the correct target.
This was tested on 32bit and 64bit Snow Leopard 10.6.8 using
all three compilers from XCode-4.0.2, and it was tested on Lion
using both compilers from XCode-4.2.1 and 4.3.
ClosesHomebrew/homebrew#10249.
Remove the option to --enable-postproc because it's always enabled
Set --disable-runtime-cpu-detect so it's detected during make.
Don't allow --gcov when compiling with Clang. Cleans up warnings.
Remove the O-level from cflags with Clang. Cleans up warnings.
This was tested on 32bit and 64bit Snow Leopard 10.6.8 using
all three compilers from XCode-4.0.2, and it was tested on Lion
using both compilers from XCode-4.2.1.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This updates libvpx to 0.9.7-p1, which is their patched release.
The formula now sets --enable-pic, which seems justified.
The formula now sets --enable-vp8 to include all their vp8 code.
The formula now exposes four options to the user for setting
code coverage, memory tracking, post processing and visiualization.
Their software creates a native static library. Their shared lib
will only build on elf32 atm. This compiles and tests with all
three clang, llvm, and gcc from XCode-4.0.2 on x86_64. This is a
library for handling video in the VPX codec format, related to
webm and Google.
ClosesHomebrew/homebrew#8110.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>