diff options
| author | Mike McQuaid | 2012-09-02 01:07:31 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-04 19:44:43 -0700 |
| commit | 400de0cd1819012d2d36ccc12a0dfb20b2f241f5 (patch) | |
| tree | ae5b2a7ae73c03071ed77a56bd2b70c1445d342a /Library | |
| parent | 6b51eda2c9918682942dca794645875d20003d96 (diff) | |
| download | homebrew-400de0cd1819012d2d36ccc12a0dfb20b2f241f5.tar.bz2 | |
mjpegtools: fix SHA1 and X11 dependency.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mjpegtools.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Library/Formula/mjpegtools.rb b/Library/Formula/mjpegtools.rb index 78dc66b71..43c3bd006 100644 --- a/Library/Formula/mjpegtools.rb +++ b/Library/Formula/mjpegtools.rb @@ -5,18 +5,19 @@ class Mjpegtools < Formula url 'http://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.0.0/mjpegtools-2.0.0.tar.gz' sha1 'f411e8573d446711dbe8455a6ae9257e1afe1e70' - option "without-x", "Build without X support" + option "with-libquicktime", "Build with Quicktime support" + option "with-libdv", "Build with DV support" + option "with-gtk+", "Build with GTK+ support" + option "with-sdl_gfx", "Build with SDL support" - depends_on 'pkg-config' => :build depends_on 'jpeg' - depends_on :x11 - depends_on 'libquicktime' => :optional - depends_on 'libdv' => :optional - depends_on 'gtk+' => :optional - depends_on 'sdl_gfx' => :optional + depends_on 'libquicktime' => :optional if build.include? "with-libquicktime" + depends_on 'libdv' => :optional if build.include? "with-libdv" + depends_on 'gtk+' => :optional if build.include? "with-gtk+" + depends_on 'sdl_gfx' => :optional if build.include? "with-sdl_gfx" fails_with :clang do - build 318 + build 421 cause <<-EOS.undent In file included from newdenoise.cc:19: ./MotionSearcher.hh:2199:3: error: use of undeclared identifier 'DeleteRegion' @@ -27,7 +28,6 @@ class Mjpegtools < Formula args = ["--disable-dependency-tracking", "--enable-simd-accel", "--prefix=#{prefix}"] - args << "--without-x" if build.include? "without-x" system "./configure", *args system "make install" |
