aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/mplayer.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 4cb74410b..e5119d906 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -9,7 +9,6 @@ class Mplayer < Formula
option 'with-x', 'Build with X11 support'
- depends_on 'pkg-config' => :build
depends_on 'yasm' => :build
depends_on 'xz' => :build
depends_on :x11 if build.include? 'with-x'
@@ -55,6 +54,10 @@ class Mplayer < Formula
system "make"
system "make install"
end
+
+ def test
+ system "#{bin}/mplayer", "-ao", "null", "/System/Library/Sounds/Glass.aiff"
+ end
end
__END__