diff options
| author | Jack Nagel | 2014-03-19 20:21:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 20:43:53 -0500 |
| commit | 7bf315334afd5010fb94e19ea079a646e18bc7e2 (patch) | |
| tree | 6bcb919c27c68bb4e16b695d64cc26dbcd0598e5 | |
| parent | 74cf2ebbaa9b179df21a6ba69d3701b14dcc5632 (diff) | |
| download | homebrew-7bf315334afd5010fb94e19ea079a646e18bc7e2.tar.bz2 | |
mpd: use patch DSL
| -rw-r--r-- | Library/Formula/mpd.rb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb index 23bdf1cb8..8ecc753a9 100644 --- a/Library/Formula/mpd.rb +++ b/Library/Formula/mpd.rb @@ -2,8 +2,15 @@ require 'formula' class Mpd < Formula homepage "http://www.musicpd.org/" - url "http://www.musicpd.org/download/mpd/0.17/mpd-0.17.5.tar.bz2" - sha1 "91e4d8d364a3db02e6f92676dd938880e5bb200a" + + stable do + url "http://www.musicpd.org/download/mpd/0.17/mpd-0.17.5.tar.bz2" + sha1 "91e4d8d364a3db02e6f92676dd938880e5bb200a" + + # Removes usage of deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE constant + # We're many versions behind; this bug has long since been fixed upstream + patch :DATA + end head do url "git://git.musicpd.org/master/mpd.git" @@ -47,10 +54,6 @@ class Mpd < Formula depends_on "libvorbis" if build.with? "vorbis" # Vorbis support - # Removes usage of deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE constant - # We're many versions behind; this bug has long since been fixed upstream - def patches; DATA unless build.head?; end - def install if build.include? "lastfm" or build.include? "libwrap" \ or build.include? "enable-soundcloud" |
