Commit Graph
31 Commits
Author SHA1 Message Date
Misty De Meo 4c7614cd48 mplayer: add optional libcaca dep 2013-04-04 18:05:27 -05:00
Camillo Lugaresi 9e8f3e9784 mplayer: enable OSD by default
Closes #16122.

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-23 13:24:41 -07:00
Mike McQuaid c513d922e0 mplayer: fix test and dependency. 2012-09-04 19:44:43 -07:00
Jack Nagel 727eb7afbd mplayer: add option for X11 support
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:55:34 -05:00
dinkypumpkin f84d9a4674 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 #13362.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-12 14:47:48 -05:00
nibbles 2bits 322514ecb9 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 #12434 and #7827 -- two birds, one commit!

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-09 07:46:31 -07:00
Jack Nagel 497b13ac9e 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 a08c66ff2e mplayer: fails with llvm
Closes #8330.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-03 22:42:06 -05:00
Misty De Meo 25051afceb 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 #6240.
2011-08-19 17:10:57 +01:00
Gordon Child f8d4d3a344 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 c918c22a0c 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 cb77a0e982 mplayer: fixing patch HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-16 11:21:27 -07:00
Adam Vandenberg dc1783a4bc yasm is a build-time dependency 2011-03-26 12:33:49 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Drew Hess 197c8c1dee 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 5283e5e3d0 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 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg d56367c1ac Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Adam Vandenberg 31f1fabd03 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 d0efd9ee94 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 d5c16f2fdb 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 4a02c26856 Update Mplayer formula to compile on 10.5. 2010-02-19 15:39:52 -08:00
Max Howell 4de4887df7 Fix stupid programming error in mplayer formula
Fixes #278
2009-12-31 02:12:50 +00:00
Max Howell e0c2bee55e Fix mplayer formula; Fixes #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 cbd7ff972c 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 1e099d36bf Depend on subversion for Leopard; Fixes #87
The Subversion bundled with Leopard doesn't export externals, so the build fails.
2009-12-02 12:26:51 +00:00
Max Howell a82e823935 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 ae9ca876cc 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 cb9916ed01 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 7e01476ce2 MPlayer formula 2009-08-24 01:04:53 +01:00