From 2d0330956756dd6a164ff45aa758b27d03551ddf Mon Sep 17 00:00:00 2001 From: Peter Aronoff Date: Wed, 14 Jul 2010 11:32:56 -0400 Subject: Add optional configure flag for Last.fm support in mpd As of mpd 0.15, mpd provides experimental native support for Last.fm radio. This commit adds an optional configure flag (--lastfm) to give Homebrew users a chance to try it out. (I'm using it here with good results.) See http://mpd.wikia.com/wiki/Last.fm_Radio for more details about how to use Last.fm with mpd if enabled. Signed-off-by: Adam Vandenberg --- Library/Formula/mpd.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb index 5d286907f..7dbf6f9b9 100644 --- a/Library/Formula/mpd.rb +++ b/Library/Formula/mpd.rb @@ -17,6 +17,10 @@ class Mpd :optional depends_on 'libzzip' => :optional + def options + [["--lastfm", "Compile with experimental support for Last.fm radio"]] + end + def install # make faad.h findable (when brew is used elsewhere than /usr/local/) ENV.append 'CFLAGS', "-I#{HOMEBREW_PREFIX}/include" @@ -32,6 +36,7 @@ class Mpd