diff options
| author | cosmo0920 | 2014-04-28 07:38:38 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-28 06:55:13 -0700 |
| commit | 454f82e0ecd04fa403a11c79fefe50c0686af045 (patch) | |
| tree | 1b771faa5867f67a5cea3fb16e7502f7f3e51b96 /Library/Formula | |
| parent | 540de61aaff46ae9528f0ba7e0b8ebc26c8e1d32 (diff) | |
| download | homebrew-454f82e0ecd04fa403a11c79fefe50c0686af045.tar.bz2 | |
clutter: make --enable-introspection=yes
Closes #28781.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/clutter.rb | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/Library/Formula/clutter.rb b/Library/Formula/clutter.rb index 9e1377251..50a7434e5 100644 --- a/Library/Formula/clutter.rb +++ b/Library/Formula/clutter.rb @@ -1,28 +1,29 @@ -require 'formula' +require "formula" class Clutter < Formula - homepage 'https://wiki.gnome.org/Clutter' - url 'http://ftp.gnome.org/pub/gnome/sources/clutter/1.14/clutter-1.14.4.tar.xz' - sha256 'c996d91fff6fff24d9e23dcd545439ebc6b999fb1cf9ee44c28ca54c49c0ee1c' + homepage "https://wiki.gnome.org/Clutter" + url "http://ftp.gnome.org/pub/gnome/sources/clutter/1.14/clutter-1.14.4.tar.xz" + sha256 "c996d91fff6fff24d9e23dcd545439ebc6b999fb1cf9ee44c28ca54c49c0ee1c" - option 'without-x', 'Build without X11 support' + option "without-x", "Build without X11 support" - depends_on 'pkg-config' => :build - depends_on 'glib' - depends_on 'gdk-pixbuf' - depends_on 'cogl' - depends_on 'cairo' # for cairo-gobject - depends_on 'atk' - depends_on 'pango' - depends_on 'json-glib' - depends_on :x11 => '2.5.1' if build.with? 'x' + depends_on "pkg-config" => :build + depends_on "glib" + depends_on "gdk-pixbuf" + depends_on "cogl" + depends_on "cairo" # for cairo-gobject + depends_on "atk" + depends_on "pango" + depends_on "json-glib" + depends_on :x11 => "2.5.1" if build.with? "x" + depends_on "gobject-introspection" def install args = %W[ --disable-dependency-tracking --disable-debug --prefix=#{prefix} - --disable-introspection + --enable-introspection=yes --disable-silent-rules --disable-Bsymbolic --disable-tests @@ -30,7 +31,7 @@ class Clutter < Formula --disable-gtk-doc-html ] - if build.with? 'x' + if build.with? "x" args.concat %w{ --with-x --enable-x11-backend=yes --enable-gdk-pixbuf=yes @@ -44,7 +45,7 @@ class Clutter < Formula } end - system './configure', *args - system 'make install' + system "./configure", *args + system "make install" end end |
