diff options
| author | Adam Vandenberg | 2014-05-13 09:40:22 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-13 09:54:08 -0700 |
| commit | 9e72fea2a95bf47d0cc1b8aa1e38a9712af7b829 (patch) | |
| tree | 8b166b768281825c394eb7e3976ac2f0c2b3c62b /Library/Formula | |
| parent | a8aa372203829914dbc1909f7123dd349d0c4d98 (diff) | |
| download | homebrew-9e72fea2a95bf47d0cc1b8aa1e38a9712af7b829.tar.bz2 | |
mediatomb: use debian patch for mp4v2
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mediatomb.rb | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Library/Formula/mediatomb.rb b/Library/Formula/mediatomb.rb index 6ac9f2c25..01f6eee86 100644 --- a/Library/Formula/mediatomb.rb +++ b/Library/Formula/mediatomb.rb @@ -42,9 +42,24 @@ class Mediatomb < Formula sha1 "7f4f9ef10fcbb05de95780f43bf4df9bd6563918" end + # Upstream patch: http://sourceforge.net/p/mediatomb/patches/35/ + patch do + url "http://patch-tracker.debian.org/patch/series/dl/mediatomb/0.12.1-5/0010_fix_libmp4v2_build.patch" + sha1 "5b879fc1640e2283941075e555212d4b81dd8e48" + end + def install - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + args = %W[ + --disable-dependency-tracking + --prefix=#{prefix} + ] + + if build.without? "mp4v2" + args << "--disable-libmp4v2" + end + + system "./configure", *args + system "make", "install" end def caveats; <<-EOS.undent |
