homebrew-core/Formula/gtk+.rb
Andrew Childs 8b3920a6a2 gtk+: Remove --disable-debug; This is not a recommended setting.
From http://developer.gnome.org/gtk/2.24/gtk-building.html:

--enable-debug. The default is minimum. Note that no is fast, but
dangerous as it tends to destabilize even mostly bug-free software by
changing the effect of many bugs from simple warnings into fatal
crashes. Thus --enable-debug=no should not be used for stable releases
of GTK+.

Closes Homebrew/homebrew#14874.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-25 09:30:43 -08:00

37 lines
956 B
Ruby

require 'formula'
class Gtkx < Formula
homepage 'http://gtk.org/'
url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.11.tar.xz'
sha256 '328b4ea19a61040145e777e2ac49820968a382ac8581a380c9429897881812a9'
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'glib'
depends_on 'jpeg'
depends_on 'libtiff'
depends_on 'gdk-pixbuf'
depends_on 'pango'
depends_on 'jasper' => :optional
depends_on 'atk' => :optional
depends_on 'cairo'
depends_on :x11 => '2.6.3'
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-glibtest",
"--disable-introspection",
"--disable-visibility"
system "make install"
end
def test
system "#{bin}/gtk-demo"
end
end