aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2013-04-04 18:04:43 -0500
committerMisty De Meo2013-04-04 18:05:27 -0500
commit4c7614cd4827cc0e96bf27921027bd8b6f61e5bf (patch)
treee5309980d786e8abdc635776ad4e72d3fc5129c5 /Library/Formula
parentde427522b4e4d1c3fb48d3a1addc5b02371be7e7 (diff)
downloadhomebrew-4c7614cd4827cc0e96bf27921027bd8b6f61e5bf.tar.bz2
mplayer: add optional libcaca dep
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index c4907f013..369b64052 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -12,6 +12,7 @@ class Mplayer < Formula
depends_on 'yasm' => :build
depends_on 'xz' => :build
+ depends_on 'libcaca' => :optional
depends_on :x11 if build.include? 'with-x'
unless build.include? 'without-osd' or build.include? 'with-x'
@@ -58,6 +59,7 @@ class Mplayer < Formula
args << "--enable-menu" unless build.include? 'without-osd'
args << "--disable-x11" unless build.include? 'with-x'
+ args << "--enable-caca" if build.with? 'libcaca'
system "./configure", *args
system "make"