homebrew-core/Formula/gtk+.rb

41 lines
1.1 KiB
Ruby
Raw Normal View History

2010-04-20 21:40:44 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gtkx < Formula
homepage 'http://gtk.org/'
2014-06-26 16:27:38 +00:00
url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.24.tar.xz'
sha256 '12ceb2e198c82bfb93eb36348b6e9293c8fdcd60786763d04cfec7ebe7ed3d6d'
2010-04-20 21:40:44 +00:00
2014-02-22 18:52:37 +00:00
bottle do
2014-06-26 16:53:14 +00:00
sha1 "4184a042793c666df9366bc77363abe8347500d4" => :mavericks
sha1 "2ba5cee75349a4d87b43e440c04a1e36b4a8f2da" => :mountain_lion
sha1 "e7195bd0e896693f940e5000a860be205885fc2c" => :lion
2014-02-22 18:52:37 +00:00
end
depends_on 'pkg-config' => :build
2010-04-20 21:40:44 +00:00
depends_on 'glib'
depends_on 'jpeg'
depends_on 'libtiff'
depends_on 'gdk-pixbuf'
depends_on 'pango'
2010-04-20 21:40:44 +00:00
depends_on 'jasper' => :optional
depends_on 'atk'
depends_on 'cairo'
depends_on :x11 => '2.3.6'
depends_on 'gobject-introspection'
2010-04-20 21:40:44 +00:00
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"
end
2010-04-20 21:40:44 +00:00
def install
system "./configure", "--disable-dependency-tracking",
2014-05-10 00:14:21 +00:00
"--disable-silent-rules",
2010-04-20 21:40:44 +00:00
"--prefix=#{prefix}",
"--disable-glibtest",
"--enable-introspection=yes",
"--disable-visibility"
2010-04-20 21:40:44 +00:00
system "make install"
end
end