Commit graph

27 commits

Author SHA1 Message Date
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Mike McQuaid
bc90bdb2b1 sdl: fix SHA1, test and X11 dependency. 2012-09-04 19:44:44 -07:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
8f63818102 sdl: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 13:01:04 -05:00
Max Howell
d46bd0e34e SDL works with NASM on 10.8
Probably not an all inclusive set of `unless`s but hard to test. Works good for me.
2012-08-10 08:51:02 -04:00
Adam Vandenberg
62fa0c4f42 Use autotools symbols 2012-07-10 08:56:02 -07:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Jack Nagel
979e03ec84 sdl: remove unneeded inreplace method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-15 15:31:05 -05:00
Michal Bendowski
d68d97bb4b Enable universal build on some SDL packages
- This allows pygame to run on an universal Python.

Closes Homebrew/homebrew#11303.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-15 15:27:03 -05:00
Max Howell
06cb65df78 These now depend on automake for Xcode >= 4.3
Fixes Homebrew/homebrew#10559.

Also added missing deps for osm2pgsql.

Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
2012-02-28 15:40:59 +00:00
Christer Solskogen
cbfc18c66f sdl 1.2.15
Closes Homebrew/homebrew#10307.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-18 10:45:33 -06:00
Charlie Sharpsteen
7b9b7666fb SDL: Disable assembly when compiling with Clang
Should have been rolled into the last commit. Troll needs coffee badly.
2011-11-23 09:21:30 -08:00
Charlie Sharpsteen
babd2b3b34 SDL: Don't compile assembly if using LLVM or Clang
The LLVM compilers can't compile the assembly code packaged with SDL.

Fixes Homebrew/homebrew#8750.
Closes Homebrew/homebrew#8730.
Closes Homebrew/homebrew#7798.
2011-11-23 09:16:00 -08:00
Max Howell
ca51063656 SDL won't build with newest LLVM-GCC :(
Closes Homebrew/homebrew#7363.
2011-09-01 14:35:33 +01:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
6c216d5767 SDL assumes X11, so check for it 2010-10-30 08:21:17 -07:00
Paul O'Neil
58c4c1966f Added a HEAD version of SDL for SDL 1.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-04 12:34:03 -07:00
Adam Vandenberg
0eb00ed337 sdl - remove unused configure switches 2010-07-31 10:25:19 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Adam Vandenberg
193a78de04 Use more inreplace features.
Update formulas to make more idiomatic use of "inreplace", including
its new ability to take a list of files to act on.
2010-02-21 23:37:49 -08:00
Max Howell
5ce0734c8b Fix SDL pc files and sdl-config
So many tools expect all SDL modules to be installed in the same place. So we have to change the prefix path to HOMEBREW_PREFIX. This is probably the correct thing to do in general in fact.
2009-10-23 19:22:51 +01:00
Adam Vandenberg
bdf0a8b8f9 Update SDL for Snow Leopard. Add libmikmod. 2009-10-20 20:12:30 -07: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
Adam Vandenberg
5b067d5c95 SDL now copies Objective-C support files.
Mac OS X projects that use SDL through Objective-C may
require the "SDLmain" support files.

Since these are not strictly header files, they are not
installed into include by default, so we put them in our
libexec folder.
2009-09-29 23:33:22 +01:00
Max Howell
e802b7f00b FIX SDL closes Homebrew/homebrew#42
Don't use LLVM to compile this code.
2009-09-29 15:46:34 +01:00
Max Howell
7fad0c4cf9 SDL on 10.6
Using MacPorts patch. We need their people!
2009-09-21 23:51:18 +01:00
Adam Vandenberg
9faf689de1 Formula for SDL. 2009-08-31 01:46:19 +01:00