diff options
| author | nibbles 2bits | 2012-10-23 23:11:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-24 06:46:09 -0700 |
| commit | 0b73f62839e906b6b1b2d5fe8c5b1f33d4dc524a (patch) | |
| tree | 563c7f0e706e572cf62e87621c2ebd502a806f09 /Library | |
| parent | c6b098876a5f9cd214d084ec7e47bfc300b46b1b (diff) | |
| download | homebrew-0b73f62839e906b6b1b2d5fe8c5b1f33d4dc524a.tar.bz2 | |
clutter 1.12.2
- Upgrade to 1.12.2
- Add an option to build `without-x` like cairo and pango
- Add a dep on x11 by default because it uses cairo, pango, cogl
- Add a few flags like `disable-debug, disable-tests
- Works well with superenv. Requires the new atk PR.
Fixes #15034
Closes #15634.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/clutter.rb | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/Library/Formula/clutter.rb b/Library/Formula/clutter.rb index 5f26921cf..8fe9ee4e0 100644 --- a/Library/Formula/clutter.rb +++ b/Library/Formula/clutter.rb @@ -2,8 +2,10 @@ require 'formula' class Clutter < Formula homepage 'http://clutter-project.org/' - url 'http://ftp.gnome.org/pub/gnome/sources/clutter/1.10/clutter-1.10.8.tar.xz' - sha256 '7c08c2deff62c134c1a3d18e04dcb6fbae4bbc541c800638b9fc3d71fe4a64bf' + url 'http://ftp.gnome.org/pub/gnome/sources/clutter/1.12/clutter-1.12.2.tar.xz' + sha256 '27a8c4495099ea33de39c2d9a911a2c9e00ffa4dcc8f94fafedbcc752c0ddf13' + + option 'without-x', 'Build without X11 support' depends_on 'pkg-config' => :build depends_on 'xz' => :build @@ -14,12 +16,23 @@ class Clutter < Formula depends_on 'atk' depends_on 'pango' depends_on 'json-glib' + depends_on :x11 unless build.include? 'without-x' def install - system "./configure", "--prefix=#{prefix}", - "--disable-introspection", - "--enable-quartz-backend", - "--disable-x11-backend" - system "make install" + args = %W[ + --disable-dependency-tracking + --disable-debug + --prefix=#{prefix} + --disable-introspection + --disable-silent-rules + --disable-Bsymbolic + --disable-tests + --disable-examples + --disable-gtk-doc-html + --enable-quartz-backend + ] + args << '--disable-x11-backend' << '--without-x' if build.include? 'without-x' + system './configure', *args + system 'make install' end end |
