imagemagick: remove options
This commit is contained in:
parent
b59e545995
commit
d45a5bc5de
1 changed files with 7 additions and 17 deletions
|
@ -21,9 +21,6 @@ class Imagemagick < Formula
|
|||
option "with-opencl", "Compile with OpenCL support"
|
||||
option "with-openmp", "Compile with OpenMP support"
|
||||
option "with-perl", "Compile with PerlMagick"
|
||||
option "without-magick-plus-plus", "disable build/install of Magick++"
|
||||
option "without-modules", "Disable support for dynamically loadable modules"
|
||||
option "without-threads", "Disable threads support"
|
||||
option "with-zero-configuration", "Disables depending on XML configuration files"
|
||||
|
||||
deprecated_option "enable-hdri" => "with-hdri"
|
||||
|
@ -32,14 +29,14 @@ class Imagemagick < Formula
|
|||
deprecated_option "with-libde265" => "with-libheif"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
depends_on "freetype"
|
||||
depends_on "jpeg"
|
||||
depends_on "libpng"
|
||||
depends_on "libtiff"
|
||||
depends_on "libtool"
|
||||
depends_on "xz"
|
||||
|
||||
depends_on "freetype" => :recommended
|
||||
depends_on "jpeg" => :recommended
|
||||
depends_on "libpng" => :recommended
|
||||
depends_on "libtiff" => :recommended
|
||||
|
||||
depends_on "fftw" => :optional
|
||||
depends_on "fontconfig" => :optional
|
||||
depends_on "ghostscript" => :optional
|
||||
|
@ -71,14 +68,10 @@ class Imagemagick < Formula
|
|||
--disable-silent-rules
|
||||
--enable-shared
|
||||
--enable-static
|
||||
--with-freetype=yes
|
||||
--with-modules
|
||||
]
|
||||
|
||||
if build.without? "modules"
|
||||
args << "--without-modules"
|
||||
else
|
||||
args << "--with-modules"
|
||||
end
|
||||
|
||||
if build.with? "opencl"
|
||||
args << "--enable-opencl"
|
||||
else
|
||||
|
@ -106,15 +99,12 @@ class Imagemagick < Formula
|
|||
args << "--without-gslib" if build.without? "ghostscript"
|
||||
args << "--with-perl" << "--with-perl-options='PREFIX=#{prefix}'" if build.with? "perl"
|
||||
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.with? "hdri"
|
||||
args << "--without-fftw" if build.without? "fftw"
|
||||
args << "--without-pango" if build.without? "pango"
|
||||
args << "--without-threads" if build.without? "threads"
|
||||
args << "--with-rsvg" if build.with? "librsvg"
|
||||
args << "--without-x" if build.without? "x11"
|
||||
args << "--with-fontconfig=yes" if build.with? "fontconfig"
|
||||
args << "--with-freetype=yes" if build.with? "freetype"
|
||||
args << "--enable-zero-configuration" if build.with? "zero-configuration"
|
||||
args << "--without-wmf" if build.without? "libwmf"
|
||||
|
||||
|
|
Loading…
Reference in a new issue