diff options
| author | Adam Vandenberg | 2014-05-10 15:28:01 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-10 15:28:18 -0700 |
| commit | df4f9884a9be821f7ddde6e438a76f3b92e60967 (patch) | |
| tree | b715eb799ce4b03c5ec42dc24df3dfef7db0022c /Library | |
| parent | 882adb5deb7ba8e47d3a04ca32eb694caa767c6d (diff) | |
| download | homebrew-df4f9884a9be821f7ddde6e438a76f3b92e60967.tar.bz2 | |
mkvtoolnix: help find ogg/vorbis
Closes #28761.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mkvtoolnix.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb index 3f2b2795d..33f6ab82f 100644 --- a/Library/Formula/mkvtoolnix.rb +++ b/Library/Formula/mkvtoolnix.rb @@ -32,6 +32,7 @@ class Mkvtoolnix < Formula depends_on 'pkg-config' => :build depends_on Ruby19 + depends_on 'libogg' depends_on 'libvorbis' depends_on 'flac' => :optional depends_on 'lzo' => :optional @@ -56,13 +57,17 @@ class Mkvtoolnix < Formula ENV['ZLIB_LIBS'] = '-L/usr/lib -lz' boost = Formula["boost"].opt_prefix + ogg = Formula["libogg"] + vorbis = Formula["libvorbis"] system "./configure", "--disable-debug", "--prefix=#{prefix}", "--disable-gui", "--disable-wxwidgets", "--without-curl", - "--with-boost=#{boost}" + "--with-boost=#{boost}", + "--with-extra-includes=#{ogg.opt_include};#{vorbis.opt_include}", + "--with-extra-libs=#{ogg.opt_lib};#{vorbis.opt_lib}" system "./drake", "-j#{ENV.make_jobs}" system "./drake install" end |
