aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLong Ho2015-03-04 10:51:24 -0500
committerJack Nagel2015-03-06 23:06:23 -0500
commit9c9f2a532feb1ab58339c5507581ef13b0ffc1eb (patch)
tree017ee1dfa48e13c468c8d9ef3b5facdcb7be6896 /Library/Formula
parent91dcd0996966b2bdd31cf0bafdbb1b16b8cdb68f (diff)
downloadhomebrew-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.rb2
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