Add sqlite3 and libsamplerate as depends; they're small, and there's
really no reason not to want them. Remove an unnecessary dep on mad
(ffmpeg can do everything it can).
Add :optional support for WavPack, JACK, and two-lame.
Make the deps for streaming output (libshout, lame, flac) optional.
Rename "--enable-soundcloud" to "--with-yajl" which, while less
informative, correctly controls the dependency on yajl.
Rename "--libwrap" to "--with-libwrap". Change its description to
reflect how it behaves differently on OSX <10.7, 10.7; remove on 10.8,
where it's useless.
Rename "--lastfm" to "--enable-lastfm" to follow the
options-start-with-verb conveition.
Document all of the options changes/quirks in caveats.
mpd moved from http://mpd.wikia.com/ to http://www.musicpd.org/ in April
2013.
ClosesHomebrew/homebrew#19368.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
- When yajl is installed, the build system manages to find it even
under superenv, so explicitly disable this option unless requested
- Future-proof finding faad2 in non-/usr/local installs
- Fix libshout deps
mpd out of the box doesn't do well with m4a files. Since Homebrew
is used on OS X, and a lot of Mac users are bound to have lots of
music purchased from iTunes, it makes sense to install mpd with
all the dependencies necessary to play iTunes-purchased music.
ClosesHomebrew/homebrew#15788.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Disable libwrap by default.
- Add an option to enable it.
- Fixes a build error where a 10.7 lib was found on 10.8.
FixesHomebrew/homebrew#14787ClosesHomebrew/homebrew#14902.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Also fixes the current issue where mpd will not compile if the
ffmpeg formula is installed.
see: https://gist.github.com/mxcl/homebrew/issues/6709
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
From mpd's wiki (http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki):
This release fixes MPD builds with recent CURL releases, RVA2 tags and adds
wildmidi-0.2.3 support.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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 <flangy@gmail.com>