aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-13 09:40:22 -0700
committerAdam Vandenberg2014-05-13 09:54:08 -0700
commit9e72fea2a95bf47d0cc1b8aa1e38a9712af7b829 (patch)
tree8b166b768281825c394eb7e3976ac2f0c2b3c62b /Library/Formula
parenta8aa372203829914dbc1909f7123dd349d0c4d98 (diff)
downloadhomebrew-9e72fea2a95bf47d0cc1b8aa1e38a9712af7b829.tar.bz2
mediatomb: use debian patch for mp4v2
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mediatomb.rb19
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