2011-11-05 04:31:34 +00:00
|
|
|
class Ffmpeg2theora < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Convert video files to Ogg Theora format"
|
2015-10-13 23:39:41 +00:00
|
|
|
homepage "https://v2v.cc/~j/ffmpeg2theora/"
|
2016-02-20 02:16:31 +00:00
|
|
|
revision 1
|
2014-10-21 03:33:38 +00:00
|
|
|
|
|
|
|
stable do
|
2016-02-16 20:54:50 +00:00
|
|
|
url "https://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.30.tar.bz2"
|
|
|
|
sha256 "4f6464b444acab5d778e0a3359d836e0867a3dcec4ad8f1cdcf87cb711ccc6df"
|
2014-10-22 17:08:52 +00:00
|
|
|
|
|
|
|
depends_on "libkate" => :optional
|
2014-10-21 03:33:38 +00:00
|
|
|
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
|
|
|
|
|
2014-10-22 17:08:52 +00:00
|
|
|
head do
|
2015-06-15 08:24:24 +00:00
|
|
|
url "https://git.xiph.org/ffmpeg2theora.git"
|
2014-10-22 17:08:52 +00:00
|
|
|
|
|
|
|
depends_on "libkate" => :recommended
|
|
|
|
end
|
2012-02-22 00:19:07 +00:00
|
|
|
|
2014-10-21 03:33:38 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "scons" => :build
|
|
|
|
depends_on "ffmpeg"
|
|
|
|
depends_on "libogg"
|
|
|
|
depends_on "libvorbis"
|
|
|
|
depends_on "theora"
|
2011-11-05 04:31:34 +00:00
|
|
|
|
|
|
|
def install
|
2016-02-19 07:35:08 +00:00
|
|
|
args = [
|
|
|
|
"prefix=#{prefix}",
|
|
|
|
"mandir=PREFIX/share/man",
|
|
|
|
"APPEND_LINKFLAGS=-headerpad_max_install_names",
|
|
|
|
]
|
2014-02-25 15:46:22 +00:00
|
|
|
scons "install", *args
|
2011-11-05 04:31:34 +00:00
|
|
|
end
|
2014-10-21 03:33:38 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/ffmpeg2theora", "--help"
|
|
|
|
end
|
2011-11-05 04:31:34 +00:00
|
|
|
end
|