2010-06-16 19:10:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GstFfmpeg < Formula
|
2012-02-05 11:46:51 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.13.tar.bz2'
|
2010-06-16 19:10:37 +00:00
|
|
|
homepage 'http://gstreamer.freedesktop.org/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '8de5c848638c16c6c6c14ce3b22eecd61ddeed44'
|
2010-06-16 19:10:37 +00:00
|
|
|
|
|
|
|
depends_on 'gst-plugins-base'
|
2010-08-14 11:27:55 +00:00
|
|
|
# ffmpeg is bundled with gst-ffmpeg
|
2010-06-16 19:10:37 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-23 17:14:06 +00:00
|
|
|
system './configure', "--prefix=#{prefix}",
|
|
|
|
"--with-ffmpeg-extra-configure=--cc=#{ENV.cc}",
|
|
|
|
'--disable-dependency-tracking'
|
2010-06-16 19:10:37 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|