homebrew-core/Formula/ffmpeg2theora.rb
Jack Nagel 6464f0cbab ffmpeg2theora: add HEAD
This builds against ffmpeg 0.10, for what it's worth.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21 18:19:07 -06:00

23 lines
658 B
Ruby

require 'formula'
class Ffmpeg2theora < Formula
homepage 'http://v2v.cc/~j/ffmpeg2theora/'
url 'http://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.28.tar.bz2'
md5 '31e389bfa0719f489af38b6fb2bd0a1f'
head 'http://svn.xiph.org/trunk/ffmpeg2theora', :using => :svn
depends_on 'pkg-config' => :build
depends_on 'scons' => :build
depends_on 'ffmpeg'
depends_on 'libkate' => :optional
depends_on 'libogg'
depends_on 'libvorbis'
depends_on 'theora'
def install
args = ["prefix=#{prefix}", "mandir=PREFIX/share/man"]
args << "libkate=1" if Formula.factory('libkate').installed?
system "scons", "install", *args
end
end