diff options
| author | Baptiste Fontaine | 2015-01-20 11:19:37 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-20 17:14:16 +0100 |
| commit | 15c7a761449b78c06e74e1af09adc87c2c976fc3 (patch) | |
| tree | 0f807f9ae2b72aae20a4c7fc435c1df2a40c5019 /Library/Formula | |
| parent | 8c5b1c12552b9aff37a0a52d8ab35f9d785ce483 (diff) | |
| download | homebrew-15c7a761449b78c06e74e1af09adc87c2c976fc3.tar.bz2 | |
gdk-pixbuf 2.31.2
Closes #36062.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gdk-pixbuf.rb | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Library/Formula/gdk-pixbuf.rb b/Library/Formula/gdk-pixbuf.rb index 0e8f769d9..77d966c91 100644 --- a/Library/Formula/gdk-pixbuf.rb +++ b/Library/Formula/gdk-pixbuf.rb @@ -1,9 +1,7 @@ -require 'formula' - class GdkPixbuf < Formula - 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' + 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" bottle do revision 1 @@ -21,8 +19,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? @@ -38,10 +36,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 @@ -58,4 +56,8 @@ class GdkPixbuf < Formula #{bin}/gdk-pixbuf-query-loaders --update-cache EOS end + + test do + system "#{bin}/gdk-pixbuf-pixdata", "-h" + end end |
