diff options
| author | Long Ho | 2015-03-04 10:51:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-03-06 23:06:23 -0500 |
| commit | 9c9f2a532feb1ab58339c5507581ef13b0ffc1eb (patch) | |
| tree | 017ee1dfa48e13c468c8d9ef3b5facdcb7be6896 /Library/Formula | |
| parent | 91dcd0996966b2bdd31cf0bafdbb1b16b8cdb68f (diff) | |
| download | homebrew-9c9f2a532feb1ab58339c5507581ef13b0ffc1eb.tar.bz2 | |
graphicsmagick: add optional webp dependency
Closes #37394.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/graphicsmagick.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb index 83c1edc2a..7dc2ec4ca 100644 --- a/Library/Formula/graphicsmagick.rb +++ b/Library/Formula/graphicsmagick.rb @@ -34,6 +34,7 @@ class Graphicsmagick < Formula depends_on 'jasper' => :optional depends_on 'libwmf' => :optional depends_on 'ghostscript' => :optional + depends_on "webp" => :optional fails_with :llvm do build 2335 @@ -57,6 +58,7 @@ class Graphicsmagick < Formula args << "--with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts" if build.without? 'ghostscript' args << "--without-magick-plus-plus" if build.without? 'magick-plus-plus' args << "--with-perl" if build.with? "perl" + args << "--with-webp=yes" if build.with? "webp" if build.with? 'quantum-depth-32' quantum_depth = 32 |
