diff options
| author | Mike McQuaid | 2012-10-13 09:28:52 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2012-10-13 09:28:56 +0100 | 
| commit | 5b3d3ca8f3e31d60dcd39014cb276c80db0636f8 (patch) | |
| tree | 1f5b151cd419b4262e529d752e2269ed3a0f01bf /Library/Formula/imagemagick.rb | |
| parent | 832410771833ad957ff46724438662d16c302c6f (diff) | |
| download | homebrew-5b3d3ca8f3e31d60dcd39014cb276c80db0636f8.tar.bz2 | |
imagemagick: add fontconfig option.
Closes #15417.
Diffstat (limited to 'Library/Formula/imagemagick.rb')
| -rw-r--r-- | Library/Formula/imagemagick.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index 9dac5b9a6..d42e04753 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -35,6 +35,7 @@ class Imagemagick < Formula    option 'with-quantum-depth-16', 'Compile with a quantum depth of 16 bit'    option 'with-quantum-depth-32', 'Compile with a quantum depth of 32 bit'    option 'with-x', 'Compile with X11 support.' +  option 'with-fontconfig', 'Compile with fontconfig support.'    option 'without-freetype', 'Compile without freetype support.'    depends_on 'pkg-config' => :build @@ -42,6 +43,7 @@ class Imagemagick < Formula    depends_on 'jpeg' => :recommended    depends_on :libpng    depends_on :x11 if build.include? 'with-x' +  depends_on :fontconfig => :optional if build.include? 'with-fontconfig' or MacOS::X11.installed?    depends_on :freetype => :recommended unless build.include? 'without-freetype'    depends_on 'ghostscript' => :optional if ghostscript_srsly? @@ -100,6 +102,7 @@ class Imagemagick < Formula      args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth      args << "--with-rsvg" if build.include? 'use-rsvg'      args << "--without-x" unless build.include? 'with-x' +    args << "--with-fontconfig=yes" if build.include? 'with-fontconfig'      args << "--with-freetype=yes" if build.include? 'with-freetype'      # versioned stuff in main tree is pointless for us  | 
