diff options
| author | Alex Dunn | 2015-04-04 21:28:24 -0700 |
|---|---|---|
| committer | Xu Cheng | 2015-04-06 17:54:57 +0800 |
| commit | e8a20c2ef80a82b7c1deb1d4fc532a7d164e169d (patch) | |
| tree | 59e8b0a3de0ac33273e2b70c7cbf4d5c06500662 /Library | |
| parent | 66adbeac1b20f567f674e68c4321865e9f8bb227 (diff) | |
| download | homebrew-e8a20c2ef80a82b7c1deb1d4fc532a7d164e169d.tar.bz2 | |
imagemagick 6.9.1-0
Closes #38375.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/imagemagick.rb | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index 2bb977770..b38391f3d 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -1,11 +1,11 @@ -require "formula" - class Imagemagick < Formula homepage "http://www.imagemagick.org" - url "http://www.imagemagick.org/download/releases/ImageMagick-6.9.0-10.tar.xz" - sha256 "d1f5dcd32a93130feb9e980a8a97517d3a2c814a8b608d139d4756516548748c" + url "http://www.imagemagick.org/download/releases/ImageMagick-6.9.1-0.tar.xz" + mirror "https://downloads.sourceforge.net/project/imagemagick/6.9.1-sources/ImageMagick-6.9.1-0.tar.xz" + sha256 "32747565fc30da0ff0bc0bf3e41c9fefad829fa8fb2f7d1b98dd84ddb3919b0e" - head "http://www.imagemagick.org/subversion/ImageMagick/trunk" + head "https://subversion.imagemagick.org/subversion/ImageMagick/trunk", + :using => :svn bottle do sha256 "67ff2e6d301cd2fc88735a8fa59d01d0ded3211f4b3f2af5bce4e79be76c04e6" => :yosemite @@ -13,17 +13,20 @@ class Imagemagick < Formula sha256 "c858c154c99b8ff013bc2b6668d6c20879a246beea6eeebb9f500feee865cd20" => :mountain_lion end + deprecated_option "enable-hdri" => "with-hdri" + + option "with-fftw", "Compile with FFTW support" + option "with-hdri", "Compile with HDRI support" + option "with-jp2", "Compile with Jpeg2000 support" + option "with-perl", "enable build/install of PerlMagick" option "with-quantum-depth-8", "Compile with a quantum depth of 8 bit" 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-perl", "enable build/install of PerlMagick" + option "without-opencl", "Disable OpenCL" 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 "xz" depends_on "libtool" => :run - depends_on "pkg-config" => :build depends_on "jpeg" => :recommended @@ -45,25 +48,25 @@ class Imagemagick < Formula depends_on "fftw" => :optional depends_on "pango" => :optional - depends_on "xz" - skip_clean :la def install - args = [ "--disable-osx-universal-binary", - "--prefix=#{prefix}", - "--disable-dependency-tracking", - "--enable-shared", - "--disable-static", - "--with-modules", - "--disable-openmp"] - - args << "--disable-opencl" if build.include? "disable-opencl" + args = %W[ + --disable-osx-universal-binary + --prefix=#{prefix} + --disable-dependency-tracking + --enable-shared + --disable-static + --with-modules + --disable-openmp + ] + + args << "--disable-opencl" if build.without? "opencl" args << "--without-gslib" if build.without? "ghostscript" args << "--without-perl" if build.without? "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.include? "enable-hdri" + args << "--enable-hdri=yes" if build.with? "hdri" args << "--enable-fftw=yes" if build.with? "fftw" args << "--without-pango" if build.without? "pango" @@ -91,7 +94,7 @@ class Imagemagick < Formula # versioned stuff in main tree is pointless for us inreplace "configure", "${PACKAGE_NAME}-${PACKAGE_VERSION}", "${PACKAGE_NAME}" system "./configure", *args - system "make install" + system "make", "install" end def caveats |
