diff options
| author | cosmo0920 | 2014-04-28 07:58:03 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-27 16:22:50 -0700 |
| commit | f15d7815de5dc9795acbb28abc458a003548d683 (patch) | |
| tree | 640f64439d44b178230a6d6a6ec81b5e53adc3e7 /Library/Formula | |
| parent | 466d0f718bc2241e830393b384294c21194995e0 (diff) | |
| download | homebrew-f15d7815de5dc9795acbb28abc458a003548d683.tar.bz2 | |
cogl: make --enable-introspection=yes
Closes #28779.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cogl.rb | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Library/Formula/cogl.rb b/Library/Formula/cogl.rb index 6c371a5c2..7de45db11 100644 --- a/Library/Formula/cogl.rb +++ b/Library/Formula/cogl.rb @@ -1,9 +1,9 @@ -require 'formula' +require "formula" class Cogl < Formula - homepage 'http://developer.gnome.org/cogl/' - url 'http://ftp.gnome.org/pub/gnome/sources/cogl/1.14/cogl-1.14.0.tar.xz' - sha256 '276e8c9f5ff0fcd57c1eaf74cc245f41ad469a95a18ac831fac2d5960baa5ae8' + homepage "http://developer.gnome.org/cogl/" + url "http://ftp.gnome.org/pub/gnome/sources/cogl/1.14/cogl-1.14.0.tar.xz" + sha256 "276e8c9f5ff0fcd57c1eaf74cc245f41ad469a95a18ac831fac2d5960baa5ae8" head do url "git://git.gnome.org/cogl" @@ -12,13 +12,14 @@ class Cogl < Formula depends_on "libtool" => :build end - option 'without-x', 'Build without X11 support' + option "without-x", "Build without X11 support" - depends_on 'pkg-config' => :build - depends_on 'cairo' - depends_on 'glib' - depends_on 'pango' - depends_on :x11 => '2.5.1' if build.with? 'x' + depends_on "pkg-config" => :build + depends_on "cairo" + depends_on "glib" + depends_on "pango" + depends_on :x11 => "2.5.1" if build.with? "x" + depends_on "gobject-introspection" # Patch from MacPorts, reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=708825 # https://trac.macports.org/browser/trunk/dports/graphics/cogl/files/patch-clock_gettime.diff @@ -31,10 +32,10 @@ class Cogl < Formula --disable-silent-rules --prefix=#{prefix} --enable-cogl-pango=yes - --disable-introspection + --enable-introspection=yes ] - args << '--without-x' if build.without? 'x' - system './configure', *args + args << "--without-x" if build.without? "x" + system "./configure", *args system "make install" end end |
