Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
ImageMagick: add optional support for FFTW
Browse files Browse the repository at this point in the history
Closes #33776.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
yanncoupin authored and jacknagel committed Nov 6, 2014
1 parent 91214c5 commit b9bbde5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Formula/imagemagick.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"

Expand Down Expand Up @@ -69,6 +71,7 @@ def install
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
Expand Down

0 comments on commit b9bbde5

Please sign in to comment.