aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/x264.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/x264.rb b/Library/Formula/x264.rb
index 347b5a9aa..08e4a2552 100644
--- a/Library/Formula/x264.rb
+++ b/Library/Formula/x264.rb
@@ -4,9 +4,9 @@ class X264 < Formula
homepage 'http://www.videolan.org/developers/x264.html'
# The version is _not_ 2245. See http://www.x264.nl/x264/changelog.txt for
# the revision numbers that are attached to each commit.
- url 'http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120327-2245-stable.tar.bz2'
- version 'r2184'
- md5 '0660e5829dc7f621bb98124440e38924'
+ url 'http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120425-2245-stable.tar.bz2'
+ sha1 '969e015e5df24091b5e62873808e6529a7f2fb7f'
+ version 'r2197'
head 'git://git.videolan.org/x264.git'
@@ -17,6 +17,9 @@ class X264 < Formula
end
def install
+ # See https://github.com/mxcl/homebrew/issues/11248
+ ENV.O1 if ENV.compiler == :clang
+
args = ["--prefix=#{prefix}", "--enable-shared"]
args << "--bit-depth=10" if ARGV.include?('--10-bit')