2010-04-20 21:40:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gtkx < Formula
|
2012-02-08 11:53:46 +00:00
|
|
|
homepage 'http://gtk.org/'
|
2014-04-03 14:25:42 +00:00
|
|
|
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
|
2014-03-28 18:26:48 +00:00
|
|
|
sha1 "20ae36dde326eb65e35374b1fbb53cbda30b2d5c" => :mavericks
|
|
|
|
sha1 "de69fc7a763c5f6d6323eb892e7f9561c705e2dd" => :mountain_lion
|
|
|
|
sha1 "90a014b0ef048e5e8d31c2c24464d2862037b640" => :lion
|
2014-02-22 18:52:37 +00:00
|
|
|
end
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-20 21:40:44 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'jpeg'
|
2010-05-19 17:20:47 +00:00
|
|
|
depends_on 'libtiff'
|
2011-03-25 20:04:35 +00:00
|
|
|
depends_on 'gdk-pixbuf'
|
2010-05-19 17:20:47 +00:00
|
|
|
depends_on 'pango'
|
2010-04-20 21:40:44 +00:00
|
|
|
depends_on 'jasper' => :optional
|
2013-01-27 21:15:02 +00:00
|
|
|
depends_on 'atk'
|
2012-07-03 13:34:01 +00:00
|
|
|
depends_on 'cairo'
|
2013-01-03 05:27:42 +00:00
|
|
|
depends_on :x11 => '2.3.6'
|
2010-04-20 21:40:44 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2326
|
|
|
|
cause "Undefined symbols when linking"
|
|
|
|
end
|
2011-04-03 18:53:05 +00:00
|
|
|
|
2010-04-20 21:40:44 +00:00
|
|
|
def install
|
2012-09-12 08:37:01 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-04-20 21:40:44 +00:00
|
|
|
"--prefix=#{prefix}",
|
2012-02-08 23:58:48 +00:00
|
|
|
"--disable-glibtest",
|
2012-02-17 23:26:06 +00:00
|
|
|
"--disable-introspection",
|
|
|
|
"--disable-visibility"
|
2010-04-20 21:40:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|