homebrew-core/Formula/gtk+.rb

42 lines
1.2 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/'
url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.23.tar.xz'
2014-03-28 17:58:05 +00:00
sha256 'a0a406e27e9b5e7d6b2c4334212706ed5cdcd41e713e66c9ae950655dd61517c'
2010-04-20 21:40:44 +00:00
2014-02-22 18:52:37 +00:00
bottle do
revision 1
sha1 "dfa2e62f652ed55e60b5b6c29cec646971c9a501" => :mavericks
sha1 "2e6b6f288ddc866baaef673867bd402bf5e1b0dd" => :mountain_lion
sha1 "a164ed8199f61834a6bd852b2d7bb4bc580f9ff5" => :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