Commit Graph
17 Commits
Author SHA1 Message Date
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