2011-10-27 17:47:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mjpegtools < Formula
|
|
|
|
homepage 'http://mjpeg.sourceforge.net/'
|
2012-03-11 20:47:40 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.0.0/mjpegtools-2.0.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'f411e8573d446711dbe8455a6ae9257e1afe1e70'
|
2011-10-27 17:47:03 +00:00
|
|
|
|
2013-01-21 09:56:23 +00:00
|
|
|
depends_on :x11 if MacOS::X11.installed?
|
|
|
|
|
2011-10-27 17:47:03 +00:00
|
|
|
depends_on 'jpeg'
|
2013-01-26 20:36:51 +00:00
|
|
|
depends_on 'libquicktime' => :optional
|
|
|
|
depends_on 'libdv' => :optional
|
|
|
|
depends_on 'gtk+' => :optional
|
|
|
|
depends_on 'sdl_gfx' => :optional
|
2011-10-27 17:47:03 +00:00
|
|
|
|
2012-06-27 20:01:14 +00:00
|
|
|
fails_with :clang do
|
2012-09-02 08:07:31 +00:00
|
|
|
build 421
|
2012-06-27 20:01:14 +00:00
|
|
|
cause <<-EOS.undent
|
|
|
|
In file included from newdenoise.cc:19:
|
|
|
|
./MotionSearcher.hh:2199:3: error: use of undeclared identifier 'DeleteRegion'
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2011-10-27 17:47:03 +00:00
|
|
|
def install
|
2013-01-26 20:36:51 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--enable-simd-accel",
|
|
|
|
"--prefix=#{prefix}"
|
2011-10-27 17:47:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|