gobject-introspection: use checksummed patches

This commit is contained in:
Jack Nagel 2014-03-17 14:43:59 -05:00
parent 80b6aef5ca
commit e297592c0f

View file

@ -22,9 +22,10 @@ class GobjectIntrospection < Formula
depends_on 'cairo' => :build if build.with? 'tests'
# Allow tests to execute on OS X (.so => .dylib)
def patches
"https://gist.github.com/krrk/6958869/raw/de8d83009d58eefa680a590f5839e61a6e76ff76/gobject-introspection-tests.patch"
end if build.with? 'tests'
patch do
url "https://gist.github.com/krrk/6958869/raw/de8d83009d58eefa680a590f5839e61a6e76ff76/gobject-introspection-tests.patch"
sha1 "1f57849db76cd2ca26ddb35dc36c373606414dfc"
end if build.with? "tests"
def install
ENV['GI_SCANNER_DISABLE_CACHE'] = 'true'