Commit graph

30 commits

Author SHA1 Message Date
Camillo Lugaresi
923ec7ba68 mplayer: enable OSD by default
Closes Homebrew/homebrew#16122.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-31 09:38:02 -08:00
Joseph C
56f947f802 mplayer: Update 'configure' patch
Closes Homebrew/homebrew#15494.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-23 13:24:41 -07:00
Mike McQuaid
76a119f790 mplayer: fix test and dependency. 2012-09-04 19:44:43 -07:00
Jack Nagel
f8fcff60a8 mplayer: add option for X11 support
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:55:34 -05:00
dinkypumpkin
7c3d35164d mplayer: disable openjpeg to avoid duplicate main
libopenjpeg 1.5.0  defines int main() for some reason.  When linked into mplayer,
it hides mplayer's main() function and renders mplayer useless.  This issue has
been reported upstream, but the unfriendly libopenjpeg is already in Homebrew.
If and when it is fixed, this restriction can be removed.

Closes Homebrew/homebrew#13362.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-12 14:47:48 -05:00
nibbles 2bits
78fb8e69cb mplayer 1.1
Upgrade mplayer to version 1.1.
Add configure switches so we use our compiler, fixes clang error.
Add build time dep on `xz`.
Add `ENV.O1` to stop symbols being optimized out, fixes llvm error.
Remove fails with llvm that was fixed by `ENV.O1`.
Add `fails_with :clang` build 211 for a 32bit inline asm error.
Remove the patch for Lion because it's fixed in this version.

Mplayer runs well using all five compilers on 64bit Snow Leopard
and Lion using XCode-4.3.2, 4.2, and 4.0.2, but it fails on 32bit
SL due an inline asm error using clang.  Can't win them all.

Fixes Homebrew/homebrew#12434 and Homebrew/homebrew#7827 -- two birds, one commit!

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-09 07:46:31 -07:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Misty De Meo
7a234f9d12 mplayer: fails with llvm
Closes Homebrew/homebrew#8330.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-03 22:42:06 -05:00
Misty De Meo
5ebfb9d748 mplayer: add --disable-cdparanoia to fix build
CDParanoia has crazy hacks applied to build on OS X because upstream don't support us. MPlayer chokes on these hacks.

Closes Homebrew/homebrew#6240.
2011-08-19 17:10:57 +01:00
Gordon Child
3d893887d3 mplayer: apply ustream patch for Lion
This issue was identified by Sharpie on github.  I pulled the fix
  from the svn trunk of mplayer.  It was fixed in revision 32840.

  https://gist.github.com/mxcl/homebrew/issues/6408

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-29 08:27:26 -07:00
Charlie Sharpsteen
ebafb03e70 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
2011-06-18 17:27:53 -07:00
Ben Tucker
e07527d159 mplayer: fixing patch HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-16 11:21:27 -07:00
Adam Vandenberg
7344d708ac yasm is a build-time dependency 2011-03-26 12:33:49 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Drew Hess
150da65be1 mplayer: fix build flags.
ENV.gcc_4_2 sets LD and CC as needed, but the formula was subsequently
clearing LD and CC. This breaks the build with Xcode 4.

Passing --enable-largefiles, --enable-apple-remote, and
--target=x86_64-Darwin to configure is unnecessary. These settings are
detected by the configure script and (properly) enabled automatically.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 09:14:39 -08:00
Drew Hess
269169f72c mplayer: don't prompt for ffmpeg git pull in configure
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 09:13:43 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg
19e5e6e64a Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Adam Vandenberg
576185d345 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
798146a7fa Improved Subversion support.
Homebrew will now use the svn binary pointed to by HOMEBREW_SVN if set,
use a Homebrew-installed svn if present, finally falling back to the
system-provided svn binary.

If a formula (mplayer) requires a newer version of Subversion than what
Leopard provides, it can use the "StrictSubversionDownloadStrategy"
download strategy to warn the user.

These changes also fix an issue with forcing exports not working on a
stock Leopard subversion, but letting the user either specify a specific
binary or install Subversion via Homebrew and pick that up instead.
2010-07-08 22:45:03 -07:00
Adam Vandenberg
0c48624e6c Update Mplayer formula to compile on 10.5. 2010-02-19 15:39:52 -08:00
Max Howell
de5c7ebaeb Fix stupid programming error in mplayer formula
Fixes Homebrew/homebrew#278
2009-12-31 02:12:50 +00:00
Max Howell
522c1651cc Fix mplayer formula; Fixes Homebrew/homebrew#172
This is horrible in that I had to disable all optimisations and mplayer is the kind of tool that really gets a boost out of them!

I hope they release another tarball soon.
2009-12-07 15:32:40 +00:00
Max Howell
5e0b7baf1a Fixes broken SubversionDownloadStrategy
Being able to commit parts of diffs can bite you if you aren't careful.
2009-12-04 18:16:32 +00:00
Max Howell
93fd38bbed Depend on subversion for Leopard; Fixes Homebrew/homebrew#87
The Subversion bundled with Leopard doesn't export externals, so the build fails.
2009-12-02 12:26:51 +00:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
David Conrad
1d07e72d48 MPlayer formula fixes
Don't force x86_64; configure detects it properly now

Use gcc-4.2 as llvm-gcc-4.2 chokes on mlp inline asm

Add recommended dependancy on pkg-config
2009-10-09 00:54:27 +01:00
elliottcable
249d54362a 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.
2009-09-18 00:13:46 -08:00
Max Howell
c213cdc1b3 MPlayer formula 2009-08-24 01:04:53 +01:00