diff options
| author | Steffen Matthischke | 2013-10-20 13:31:23 +0200 | 
|---|---|---|
| committer | Jack Nagel | 2013-11-10 23:07:01 -0600 | 
| commit | de9db1ec4422db6dd4a1658cba8d32e36b66b2e6 (patch) | |
| tree | 1df15e5d6a8c7496371a8c6128048f2913bbb130 /Library/Formula/mkvtoolnix.rb | |
| parent | 3fedd5e4d72d1b32586b2e5b96d68944781c97bd (diff) | |
| download | homebrew-de9db1ec4422db6dd4a1658cba8d32e36b66b2e6.tar.bz2 | |
mkvtoolnix 6.5.0
Closes #23395.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/mkvtoolnix.rb')
| -rw-r--r-- | Library/Formula/mkvtoolnix.rb | 44 | 
1 files changed, 34 insertions, 10 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb index e99ea5d10..14aa6fddf 100644 --- a/Library/Formula/mkvtoolnix.rb +++ b/Library/Formula/mkvtoolnix.rb @@ -2,28 +2,52 @@ require 'formula'  class Mkvtoolnix < Formula    homepage 'http://www.bunkus.org/videotools/mkvtoolnix/' -  url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-5.0.1.tar.bz2' -  sha1 '900211d47ba6cbeb4188bb45a492a2b9edf08ed2' +  url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-6.5.0.tar.xz' +  sha1 '2ed4501968f7eeb5ad22f04a03c18af8547188fe'    head 'https://github.com/mbunkus/mkvtoolnix.git' -  depends_on 'boost149' +  depends_on 'boost' => 'c++11'    depends_on 'libvorbis' -  depends_on 'libmatroska'    depends_on 'flac' => :optional    depends_on 'lzo' => :optional    fails_with :clang do -    build 318 -    cause "Compilation errors with older clang." +    build 425 +    cause 'Mkvtoolnix requires a C++11 compliant compiler.' +  end + +  fails_with :gcc do +    build 5666 +    cause 'Mkvtoolnix requires a C++11 compliant compiler.' +  end + +  fails_with :gcc => '4.5.4' do +    cause 'Mkvtoolnix requires a C++11 compliant compiler.' +  end + +  fails_with :gcc_4_0 do +    cause 'Mkvtoolnix requires a C++11 compliant compiler.' +  end; + +  fails_with :llvm do +    build 2336 +    cause 'Mkvtoolnix requires a C++11 compliant compiler.'    end    def install -    old_boost = Formula.factory("boost149") +    ENV.cxx11 +    ENV['ZLIB_CFLAGS'] = '-I/usr/include' +    ENV['ZLIB_LIBS'] = '-L/usr/lib -lz' + +    ENV['ZLIB_CFLAGS'] = '-I/usr/include' +    ENV['ZLIB_LIBS'] = '-L/usr/lib -lz' +      system "./configure", "--disable-debug", -                          "--prefix=#{prefix}", -                          "--with-boost=#{old_boost.prefix}", -                          "--with-boost-regex=boost_regex-mt" # via macports +                          "--disable-gui", +                          "--disable-wxwidgets", +                          "--without-curl", +                          "--prefix=#{prefix}"      system "./drake", "-j#{ENV.make_jobs}"      system "./drake install"    end  | 
