diff options
| author | Jack Nagel | 2014-03-28 14:34:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-28 14:34:21 -0500 |
| commit | b1519bda1e3f1e9e2f60506004fca3152f15c834 (patch) | |
| tree | b3949344524c8f46ee6a2d8e0a330406f1788148 /Library/Formula | |
| parent | db3cf58946e68a7de1272051eb04fb39724081a1 (diff) | |
| download | homebrew-b1519bda1e3f1e9e2f60506004fca3152f15c834.tar.bz2 | |
gtk+3 3.12.0
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gtk+3.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/gtk+3.rb b/Library/Formula/gtk+3.rb index 0b7d5a6f1..af9814c2b 100644 --- a/Library/Formula/gtk+3.rb +++ b/Library/Formula/gtk+3.rb @@ -2,8 +2,8 @@ require 'formula' class Gtkx3 < Formula homepage 'http://gtk.org/' - url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/3.10/gtk+-3.10.7.tar.xz' - sha256 'b7e9de15385031cff43897e7e59f6692eaabf500f36eef80e6b9d6486ad49427' + url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/3.12/gtk+-3.12.0.tar.xz' + sha256 'eb69741cd4029b5a1ac9cf04d9de55dcf9e30777a63891750f5d20cc554b6e4b' depends_on :x11 => '2.5' # needs XInput2, introduced in libXi 1.3 depends_on 'pkg-config' => :build @@ -18,13 +18,15 @@ class Gtkx3 < Formula depends_on 'at-spi2-atk' depends_on 'gobject-introspection' - # Upstream patch to fix missing return value - patch do - url "https://git.gnome.org/browse/gtk+/patch/?id=1c42bb5e34783ea7170e96905d9d60e07e23933f" - sha1 "526ec4a577b24000ba88b32cac366a1c333c68eb" - end - def install + # gtk-update-icon-cache is used during installation, and + # we don't want to add a dependency on gtk+2 just for this. + inreplace %w[ gtk/makefile.msc.in + demos/gtk-demo/Makefile.in + demos/widget-factory/Makefile.in ], + /gtk-update-icon-cache --(force|ignore-theme-index)/, + "#{buildpath}/gtk/\\0" + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", |
