homebrew-core/Formula/ffmpeg2theora.rb

46 lines
1.2 KiB
Ruby
Raw Normal View History

class Ffmpeg2theora < Formula
desc "Convert video files to Ogg Theora format"
2015-10-13 23:39:41 +00:00
homepage "https://v2v.cc/~j/ffmpeg2theora/"
revision 1
stable do
url "https://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.30.tar.bz2"
sha256 "4f6464b444acab5d778e0a3359d836e0867a3dcec4ad8f1cdcf87cb711ccc6df"
depends_on "libkate" => :optional
end
2014-10-06 20:17:41 +00:00
bottle do
cellar :any
2016-02-22 00:56:08 +00:00
sha256 "a5083a14925664a830e8af88404e4668e5e48546c8ca283f5494fe26dca76f86" => :el_capitan
sha256 "1d40350a4a67d4ac2da6c55c67d45adee2ca537e1ecd1ccbb59d0c22968fca79" => :yosemite
sha256 "8e750ddb6435e83d99f6b77ed4736743f361ade2a89efd11868e67b18c114ece" => :mavericks
2014-10-06 20:17:41 +00:00
end
head do
2015-06-15 08:24:24 +00:00
url "https://git.xiph.org/ffmpeg2theora.git"
depends_on "libkate" => :recommended
end
depends_on "pkg-config" => :build
depends_on "scons" => :build
depends_on "ffmpeg"
depends_on "libogg"
depends_on "libvorbis"
depends_on "theora"
def install
args = [
"prefix=#{prefix}",
"mandir=PREFIX/share/man",
"APPEND_LINKFLAGS=-headerpad_max_install_names",
]
2014-02-25 15:46:22 +00:00
scons "install", *args
end
test do
system "#{bin}/ffmpeg2theora", "--help"
end
end