aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorYann Coupin2014-10-31 16:53:01 +0100
committerJack Nagel2014-11-06 16:01:23 -0600
commitb9bbde5c7b9971776d7b1ec4ce4122b43563d2f7 (patch)
treecf26590fd2e8dbd118e1a8bfa65369c7b5da6b6a /Library
parent91214c5834a053a6948055897b54c10ec6f048af (diff)
downloadhomebrew-b9bbde5c7b9971776d7b1ec4ce4122b43563d2f7.tar.bz2
ImageMagick: add optional support for FFTW
Closes #33776. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/imagemagick.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index d7b0935ec..d61f3f7bc 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -21,6 +21,7 @@ class Imagemagick < Formula
option "without-magick-plus-plus", "disable build/install of Magick++"
option "with-jp2", "Compile with Jpeg2000 support"
option "enable-hdri", "Compile with HDRI support"
+ option "with-fftw", "Compile with FFTW support"
depends_on "libtool" => :run
@@ -42,6 +43,7 @@ class Imagemagick < Formula
depends_on "ghostscript" => :optional
depends_on "webp" => :optional
depends_on "homebrew/versions/openjpeg21" if build.with? "jp2"
+ depends_on "fftw" => :optional
depends_on "xz"
@@ -69,6 +71,7 @@ class Imagemagick < 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 << "--enable-hdri=yes" if build.include? "enable-hdri"
+ args << "--enable-fftw=yes" if build.with? "fftw"
if build.with? "quantum-depth-32"
quantum_depth = 32