97e2e7c5d1
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>
25 lines
699 B
Ruby
25 lines
699 B
Ruby
require 'formula'
|
|
|
|
class GdkPixbuf < Formula
|
|
homepage 'http://gtk.org'
|
|
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
|
|
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
|