diff options
| author | Adam Vandenberg | 2014-02-22 10:57:10 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-22 11:07:18 -0800 |
| commit | 7adeb5390b0e85ece4d680cc81a0f7b87e3c4752 (patch) | |
| tree | 56e369c5083ffaca4f88609c9f68f29e982b5b40 /Library/Formula | |
| parent | 54f11b2d9f0153d3faacc8392450096777e1a30c (diff) | |
| download | homebrew-7adeb5390b0e85ece4d680cc81a0f7b87e3c4752.tar.bz2 | |
mplayer: style nits
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mplayer.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb index 7dfafdb4d..76cb62923 100644 --- a/Library/Formula/mplayer.rb +++ b/Library/Formula/mplayer.rb @@ -12,9 +12,9 @@ class Mplayer < Formula depends_on 'yasm' => :build depends_on 'libcaca' => :optional - depends_on :x11 if build.include? 'with-x' + depends_on :x11 if build.with? 'x' - unless build.include? 'without-osd' or build.include? 'with-x' + unless build.without? 'osd' or build.with? 'x' # These are required for the OSD. We can get them from X11, or we can # build our own. depends_on :fontconfig @@ -57,8 +57,8 @@ class Mplayer < Formula --disable-libopenjpeg ] - args << "--enable-menu" unless build.include? 'without-osd' - args << "--disable-x11" unless build.include? 'with-x' + args << "--enable-menu" unless build.without? 'osd' + args << "--disable-x11" unless build.with? 'x' args << "--enable-caca" if build.with? 'libcaca' system "./configure", *args |
