require 'formula' class Libquicktime :build depends_on 'gettext' depends_on 'jpeg' => :optional depends_on 'lame' => :optional depends_on 'schroedinger' => :optional depends_on 'ffmpeg' => :optional depends_on 'libvorbis' => :optional def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-gpl", "--without-doxygen" system "make" system "make install" end end __END__ --- libquicktime-1.1.5/plugins/mjpeg/libmjpeg.c 2010-01-15 05:41:17.000000000 +1100 +++ libquicktime-1.1.5/plugins/mjpeg/libmjpeg.c-2 2010-04-07 23:33:46.000000000 +1000 @@ -785,6 +785,7 @@ result->jpeg_compress.input_components = 3; result->jpeg_compress.in_color_space = JCS_RGB; jpeg_set_quality(&(result->jpeg_compress), mjpeg->quality, 0); + result->jpeg_compress.do_fancy_downsampling = FALSE; if(mjpeg->use_float) result->jpeg_compress.dct_method = JDCT_FLOAT;