Upgrade x264 to version 2197, the 2012-06-09 stable tarball.
Add a caveat advising the user to recompile brews that use x264.
Add a conditional when building head that sets `GIT_DIR` and runs
`version.sh` so that folks can easily see the current version.
Because version 2197 was inadvertently used a couple of commits
ago, some folks may have a tarball with this name in their cache
that will fail sha1 check. Hopefully they will know enough to
delete the version in their cache and attempt the install again.
Compiles well using clang and llvm from XCode-4.3.2 on Lion.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Specify the stable branch for the head url.
* Use http rather than git for the head url.
* Correct the version number, is 2189 for stable (2197 was master)
* Note in comments how to use version.sh to get the version number.
* Remove the -O1 for clang. Issue is fixed in this version.
The previous commit added -O1 to fix a segfault when x264 was
compiled with clang. The author was testing this against the
previous tarball, not 2189. The devs emailed back explaining
that this was fixed since then, and this is confirmed to work
using their -O3 or Homebrew's -Os. Users should remove x264
and ffmpeg and `brew install x264 ffmpeg` to get a working pair.
Apologies for all this, but it's better to get it right.
ClosesHomebrew/homebrew#11908.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade x264 to the latest stable tarball, 20120425.
Add `ENV.O1` when compiling with clang, which fixes a segfault
when encoding with libx264. The fps encoding rate remains the
same using this commit. The changelog listed in the formula
comments was checked, and the version is unchanged. This will
cause a hash fail when x264-r2184.tar.bz2 already exists. The
user will have to remove the cached tarball and try again. At
the time this commit is being submitted, the x264-devel mailing
listserv is offline. So it hasn't been reported a second time.
FixesHomebrew/homebrew#11248.
ClosesHomebrew/homebrew#11885.
Signed-off-by: Jack Nagel <jacknagel@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>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
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.