From e6a9f0cfd1235f88445598c0d1918a1e7251b01e Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 7 Dec 2013 12:35:01 -0800 Subject: [PATCH] libraw 0.15.4 Fixes Homebrew/homebrew#25038. --- Formula/libraw.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Formula/libraw.rb b/Formula/libraw.rb index f015da173d..c7061be337 100644 --- a/Formula/libraw.rb +++ b/Formula/libraw.rb @@ -1,28 +1,28 @@ require 'formula' -class LibrawTestFile < Formula - url 'http://www.rawsamples.ch/raws/nikon/d1/RAW_NIKON_D1.NEF', - :using => :nounzip - sha1 'd84d47caeb8275576b1c7c4550263de21855cf42' -end - class Libraw < Formula homepage 'http://www.libraw.org/' - url 'http://www.libraw.org/data/LibRaw-0.14.7.tar.gz' - sha1 'e924527bed3d72ee4756da0c9383dc74c584799f' + url 'http://www.libraw.org/data/LibRaw-0.15.4.tar.gz' + sha1 '1561e1ac12df6eed999d5be3146d66176c050b76' depends_on 'pkg-config' => :build depends_on 'jasper' depends_on 'little-cms2' + resource 'librawtestfile' do + url 'http://www.rawsamples.ch/raws/nikon/d1/RAW_NIKON_D1.NEF', + :using => :nounzip + sha1 'd84d47caeb8275576b1c7c4550263de21855cf42' + end + resource 'gpl2' do - url 'http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.14.7.tar.gz' - sha1 '9a95d5be316c6efe91228ab696eb39c565922cad' + url 'http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.15.4.tar.gz' + sha1 '9eaa33b53e15053937a1ac081227713cae7f25fb' end resource 'gpl3' do - url 'http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.14.7.tar.gz' - sha1 '63b1e4899c7aa1a9023e6f4516b91c9c9aa3893e' + url 'http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.15.4.tar.gz' + sha1 'd9ce308bccae75f26fa56ab6c2ad705ef0eaa761' end def install @@ -38,7 +38,7 @@ class Libraw < Formula end def test - LibrawTestFile.new.brew do + resource('librawtestfile').stage do filename = 'RAW_NIKON_D1.NEF' system "#{bin}/raw-identify", "-u", filename system "#{bin}/simple_dcraw", "-v", "-T", filename