Commit graph

16 commits

Author SHA1 Message Date
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