gdk-pixbuf 2.24.0

This updates gdk-pixbuf to version 2.24.0 and fixes some flags to
configure that were not correct for OSX or were not set correctly
due to strange defaults settings on this build.
--disable-maintainer-mode gets set because it defaults on.
--enable-debug=no gets set because its [no,min,max,auto]
--enable-instrospection=no gets set because it's desired.
--disable-Bsymbolic gets set because it's only for elf32.
--without-gdiplus gets set because it's for Windows.
This compiles with gcc-4.2.1, llvm-2335.9, and clang-2.0 from
XCode-4.0.2 on x86_64 10.6.8.

Closes Homebrew/homebrew#8112.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Nibbles 2bits 2011-10-13 23:10:21 -07:00 committed by Charlie Sharpsteen
parent 5a2be5f095
commit 97e2e7c5d1

View file

@ -2,18 +2,24 @@ require 'formula'
class GdkPixbuf < Formula
homepage 'http://gtk.org'
url 'http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.23/gdk-pixbuf-2.23.5.tar.bz2'
md5 '025c38de1a599b0ded6c92d34924dd85'
url 'http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.0.tar.bz2'
sha256 '38d2630314e6d91976bffd833236f84fefa440a9038f86dc422820a39f2e3700'
depends_on 'glib'
depends_on 'jasper'
depends_on 'libtiff'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libjasper",
"--enable-introspection=no"
args = ["--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-maintainer-mode",
"--enable-debug=no",
"--with-libjasper",
"--enable-introspection=no",
"--disable-Bsymbolic",
"--without-gdiplus"]
system "./configure", *args
system "make"
system "make install"
end
end