diff options
| author | Jack Nagel | 2015-01-20 21:41:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-20 21:41:15 -0500 |
| commit | 0a491a5f75c1f8ffb992d959b794f9f0f2d23b11 (patch) | |
| tree | dd5a02915a33a9321696eb6f0ea92719086c9801 /Library/Formula | |
| parent | 8341699335b04b14877cbff91e13879556f54ed7 (diff) | |
| download | homebrew-0a491a5f75c1f8ffb992d959b794f9f0f2d23b11.tar.bz2 | |
Revert "gdk-pixbuf 2.31.2"
2.31.x is the unstable branch.
This reverts commit 15c7a761449b78c06e74e1af09adc87c2c976fc3.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gdk-pixbuf.rb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Library/Formula/gdk-pixbuf.rb b/Library/Formula/gdk-pixbuf.rb index 77d966c91..0e8f769d9 100644 --- a/Library/Formula/gdk-pixbuf.rb +++ b/Library/Formula/gdk-pixbuf.rb @@ -1,7 +1,9 @@ +require 'formula' + class GdkPixbuf < Formula - homepage "http://gtk.org" - url "http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.31/gdk-pixbuf-2.31.2.tar.xz" - sha256 "9e467ed09894c802499fb2399cd9a89ed21c81700ce8f27f970a833efb1e47aa" + homepage 'http://gtk.org' + url 'http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.8.tar.xz' + sha256 '4853830616113db4435837992c0aebd94cbb993c44dc55063cee7f72a7bef8be' bottle do revision 1 @@ -19,8 +21,8 @@ class GdkPixbuf < Formula depends_on "libpng" depends_on "gobject-introspection" - # "loaders.cache" must be writable by other packages - skip_clean "lib/gdk-pixbuf-2.0" + # 'loaders.cache' must be writable by other packages + skip_clean 'lib/gdk-pixbuf-2.0' def install ENV.universal_binary if build.universal? @@ -36,10 +38,10 @@ class GdkPixbuf < Formula # Other packages should use the top-level modules directory # rather than dumping their files into the gdk-pixbuf keg. - inreplace lib/"pkgconfig/gdk-pixbuf-2.0.pc" do |s| - libv = s.get_make_var "gdk_pixbuf_binary_version" - s.change_make_var! "gdk_pixbuf_binarydir", - HOMEBREW_PREFIX/"lib/gdk-pixbuf-2.0"/libv + inreplace lib/'pkgconfig/gdk-pixbuf-2.0.pc' do |s| + libv = s.get_make_var 'gdk_pixbuf_binary_version' + s.change_make_var! 'gdk_pixbuf_binarydir', + HOMEBREW_PREFIX/'lib/gdk-pixbuf-2.0'/libv end end @@ -56,8 +58,4 @@ class GdkPixbuf < Formula #{bin}/gdk-pixbuf-query-loaders --update-cache EOS end - - test do - system "#{bin}/gdk-pixbuf-pixdata", "-h" - end end |
