diff options
| author | Camillo Lugaresi | 2012-11-17 05:21:16 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-12-31 09:38:02 -0800 |
| commit | 9e8f3e97844dea189f01ce2185430c831efc8583 (patch) | |
| tree | 17ba0db35283e77d568d35cec842439b9f5a6dac /Library/Formula | |
| parent | a836612a4d9d253d708fff8a9956ba219d3778d5 (diff) | |
| download | homebrew-9e8f3e97844dea189f01ce2185430c831efc8583.tar.bz2 | |
mplayer: enable OSD by default
Closes #16122.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mplayer.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb index d5e63d054..c4907f013 100644 --- a/Library/Formula/mplayer.rb +++ b/Library/Formula/mplayer.rb @@ -8,11 +8,19 @@ class Mplayer < Formula head 'svn://svn.mplayerhq.hu/mplayer/trunk', :using => StrictSubversionDownloadStrategy option 'with-x', 'Build with X11 support' + option 'without-osd', 'Build without OSD' depends_on 'yasm' => :build depends_on 'xz' => :build depends_on :x11 if build.include? 'with-x' + unless build.include? 'without-osd' or build.include? 'with-x' + # These are required for the OSD. We can get them from X11, or we can + # build our own. + depends_on :fontconfig + depends_on :freetype + end + fails_with :clang do build 211 cause 'Inline asm errors during compile on 32bit Snow Leopard.' @@ -48,6 +56,7 @@ class Mplayer < Formula --disable-libopenjpeg ] + args << "--enable-menu" unless build.include? 'without-osd' args << "--disable-x11" unless build.include? 'with-x' system "./configure", *args |
