diff options
| author | Charlie Sharpsteen | 2011-06-18 17:08:27 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-18 17:27:53 -0700 |
| commit | c918c22a0ce5ea4ac8c1d1ff382ff164511eb9d3 (patch) | |
| tree | 877d09a73625574c3f66d4a9f31743da14e05b7b /Library | |
| parent | 8bf7921e4dae5b5d1e62c35e41eac924dd0fb687 (diff) | |
| download | homebrew-c918c22a0ce5ea4ac8c1d1ff382ff164511eb9d3.tar.bz2 | |
MPlayer: add stable download
The patch required to build from SVN head may not apply cleanly depending on
changes to the codebase.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Also clean up the formula a bit and edit the comments
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mplayer.rb | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb index 638be628e..17298febe 100644 --- a/Library/Formula/mplayer.rb +++ b/Library/Formula/mplayer.rb @@ -2,31 +2,30 @@ require 'formula' class Mplayer < Formula homepage 'http://www.mplayerhq.hu/' - # https://github.com/mxcl/homebrew/issues/issue/87 + url 'ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc4.tar.bz2' + md5 '1699c94de39da9c4c5d34e8f58e418f0' + head 'svn://svn.mplayerhq.hu/mplayer/trunk', :using => StrictSubversionDownloadStrategy depends_on 'pkg-config' => :build depends_on 'yasm' => :build def patches - # configure prompts the user to pull ffmpeg from git. - # Don't do that. - DATA + # When building from SVN HEAD, configure prompts the user to pull FFmpeg + # from git. Don't do that. + DATA if ARGV.build_head? end def install - # Do not use pipes, per bug report - # https://github.com/mxcl/homebrew/issues#issue/622 - # and MacPorts - # http://trac.macports.org/browser/trunk/dports/multimedia/mplayer-devel/Portfile - # any kind of optimisation breaks the build + # (A) Do not use pipes, per bug report and MacPorts + # * https://github.com/mxcl/homebrew/issues/622 + # * http://trac.macports.org/browser/trunk/dports/multimedia/mplayer-devel/Portfile + # (B) Any kind of optimisation breaks the build ENV.gcc_4_2 ENV['CFLAGS'] = '' ENV['CXXFLAGS'] = '' - args = "--prefix=#{prefix}" - - system './configure', *args + system './configure', "--prefix=#{prefix}" system "make" system "make install" end |
