diff options
| author | Adam Vandenberg | 2014-05-23 11:14:06 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-23 11:14:55 -0700 |
| commit | 5e1c9b8a0000c999d6877c78e97445bb0ddc53e6 (patch) | |
| tree | 6805501c96e6e576944ea4aaa0987184c18cc0d3 /Library/Formula | |
| parent | 64a0fadf1fe1eac1fa9b6ed97a1c60bb5416dcdd (diff) | |
| download | homebrew-5e1c9b8a0000c999d6877c78e97445bb0ddc53e6.tar.bz2 | |
pianobar: head depends on ffmpeg
Closes #29524.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pianobar.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/pianobar.rb b/Library/Formula/pianobar.rb index 503c44a01..fb89c5161 100644 --- a/Library/Formula/pianobar.rb +++ b/Library/Formula/pianobar.rb @@ -15,6 +15,7 @@ class Pianobar < Formula depends_on 'gnutls' depends_on 'libgcrypt' depends_on 'json-c' + depends_on 'ffmpeg' if build.head? fails_with :llvm do build 2334 @@ -29,6 +30,9 @@ class Pianobar < Formula # build if we aren't /usr/local' "#{ENV.cppflags} #{ENV.ldflags}" + if build.head? + inreplace "Makefile", "#LIBAV:=ffmpeg2.2", "LIBAV:=ffmpeg2.2" + end system "make", "PREFIX=#{prefix}" system "make", "install", "PREFIX=#{prefix}" |
