diff options
| author | Johnathan Conley | 2014-10-09 14:24:52 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-12 22:40:36 -0500 |
| commit | 36d0f0c58035d29fa8083287f083b3027bb5e363 (patch) | |
| tree | 0869cf39d1c08d9c1a91c2d4c31d7a3961efd03e /Library | |
| parent | 339b8a7b1bfd664016c8f2d6d85ecc1f24d09f46 (diff) | |
| download | homebrew-36d0f0c58035d29fa8083287f083b3027bb5e363.tar.bz2 | |
libvpx: improvements
- remove disable-runtime-cpu-detect
- add head
- add with-examples (for vpxdec/vpxenc)
- disable unit tests (speed up compile)
Closes #33061.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libvpx.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/libvpx.rb b/Library/Formula/libvpx.rb index 8a7eb17f9..ed7d60f5d 100644 --- a/Library/Formula/libvpx.rb +++ b/Library/Formula/libvpx.rb @@ -4,6 +4,9 @@ class Libvpx < Formula homepage 'http://www.webmproject.org/code/' url 'https://webm.googlecode.com/files/libvpx-v1.3.0.tar.bz2' sha1 '191b95817aede8c136cc3f3745fb1b8c50e6d5dc' + revision 1 + + head "https://chromium.googlesource.com/webm/libvpx", :using => :git bottle do sha1 "6c46b6378c782d9cdd345d29caaa536d5bb1b03e" => :mavericks @@ -16,12 +19,11 @@ class Libvpx < Formula option 'gcov', 'Enable code coverage' option 'mem-tracker', 'Enable tracking memory usage' option 'visualizer', 'Enable post processing visualizer' + option "with-examples", "Build examples (vpxdec/vpxenc)" def install - args = ["--prefix=#{prefix}", - "--enable-pic", - "--disable-examples", - "--disable-runtime-cpu-detect"] + args = ["--prefix=#{prefix}", "--enable-pic", "--disable-unit-tests"] + args << (build.with?("examples") ? "--enable-examples" : "--disable-examples") args << "--enable-gcov" if build.include? "gcov" and not ENV.compiler == :clang args << "--enable-mem-tracker" if build.include? "mem-tracker" args << "--enable-postproc-visualizer" if build.include? "visualizer" |
