From 4c7614cd4827cc0e96bf27921027bd8b6f61e5bf Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 4 Apr 2013 18:04:43 -0500 Subject: mplayer: add optional libcaca dep --- Library/Formula/mplayer.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3