ffmpeg2theora: vendor patch

This commit is contained in:
Dominyk Tiller 2015-06-15 09:24:24 +01:00
parent 2a6602798f
commit 487d2ff159

View file

@ -1,5 +1,3 @@
require "formula"
class Ffmpeg2theora < Formula
desc "Convert video files to Ogg Theora format"
homepage "http://v2v.cc/~j/ffmpeg2theora/"
@ -7,12 +5,13 @@ class Ffmpeg2theora < Formula
stable do
url "http://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.29.tar.bz2"
sha1 "7e78c5ddb8740b33a6ae4c9da76047bd8e662791"
sha256 "214110e2a5afdd8ff8e0be18152e893dbff5dabc1ae1d1124e64d9f93eae946d"
# Fixes build with ffmpeg 2.x by removing use of deprecated constant
# Vendored because upstream's git repo "churns" and the checksum doesn't remain static.
patch do
url "http://git.xiph.org/?p=ffmpeg2theora.git;a=patch;h=d3435a6a83dc656379de9e6523ecf8d565da6ca6"
sha1 "5a3e48c386ac077ab58afa6c49631c88f8f85929"
url "https://raw.githubusercontent.com/DomT4/scripts/5f773bffa06/Homebrew_Resources/ffmpeg2theora/ffmpeg2theora.diff"
sha256 "caf2863bf1da8f5eb78c07c2cfb9ee732a0373a0e177208c8a391e9525359cbc"
end
depends_on "libkate" => :optional
@ -27,7 +26,7 @@ class Ffmpeg2theora < Formula
end
head do
url "git://git.xiph.org/ffmpeg2theora.git"
url "https://git.xiph.org/ffmpeg2theora.git"
depends_on "libkate" => :recommended
end