aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorelliottcable2009-09-18 00:13:46 -0800
committerelliottcable2009-09-18 00:13:46 -0800
commitcb9916ed01ec14486c67645dabc0841db746293c (patch)
treed21980c6025e15c1b6d083ada04dc39f19b03181 /Library/Formula
parent7f4c5a94ef4dc2411f8f15e4594c2c7711cfe5c4 (diff)
downloadhomebrew-cb9916ed01ec14486c67645dabc0841db746293c.tar.bz2
Fixing the mplayer formula, for now.
Some day I hope to make it utilize the ffmpeg-mt and speed patches, as well as providing optimization info in the notes, but I can’t currently get that to work on Snow Leopard. Maybe later.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 3221e5394..d8c9809ce 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -2,12 +2,14 @@ require 'brewkit'
class Mplayer <Formula
@homepage='http://www.mplayerhq.hu/'
- @url='http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2'
- @md5=''
- @verison='snapshot'
+ @head='svn://svn.mplayerhq.hu/mplayer/trunk'
def install
- system "./configure --disable-debug --prefix='#{prefix}'"
+ # Information from http://blog.bloople.net/read/mplayer-on-snow-leopard
+ # seems to claim that we have to build against an x86_64 target even if on
+ # i386 /-:
+ system "./configure --prefix='#{prefix}' --target=x86_64-Darwin"
+ system "make"
system "make install"
end
end \ No newline at end of file