From db2806c83a0ecc6693ed6c1da3a1360a0bc31914 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Sat, 29 Dec 2018 00:40:15 +0100 Subject: [PATCH] gmic: remove options --- Formula/gmic.rb | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/Formula/gmic.rb b/Formula/gmic.rb index 3ac0250b90..bf80368e4b 100644 --- a/Formula/gmic.rb +++ b/Formula/gmic.rb @@ -3,7 +3,7 @@ class Gmic < Formula homepage "https://gmic.eu/" url "https://gmic.eu/files/source/gmic_2.1.5.tar.gz" sha256 "2f3de90a09bba6d24c89258be016fd6992886bda13dbbcaf03de58c765774845" - revision 1 + revision 2 head "https://github.com/dtschump/gmic.git" bottle do @@ -18,20 +18,15 @@ class Gmic < Formula depends_on "fftw" depends_on "jpeg" depends_on "libpng" - depends_on "ffmpeg" => :optional - depends_on "libtiff" => :optional - depends_on "opencv@2" => :optional - depends_on "openexr" => :optional + depends_on "libtiff" def install cp "resources/CMakeLists.txt", buildpath - args = std_cmake_args - args << "-DENABLE_X=OFF" - args << "-DENABLE_FFMPEG=OFF" if build.without? "ffmpeg" - args << "-DENABLE_OPENCV=OFF" if build.without? "opencv" - args << "-DENABLE_OPENEXR=OFF" if build.without? "openexr" - args << "-DENABLE_TIFF=OFF" if build.without? "libtiff" - system "cmake", *args + system "cmake", *std_cmake_args, + "-DENABLE_FFMPEG=OFF", + "-DENABLE_OPENCV=OFF", + "-DENABLE_OPENEXR=OFF", + "-DENABLE_X=OFF" system "make", "install" end