homebrew-core/Formula/gifify.rb

22 lines
565 B
Ruby
Raw Normal View History

class Gifify < Formula
desc "Turn movies into GIFs"
homepage "https://github.com/jclem/gifify"
url "https://github.com/jclem/gifify/archive/v4.0.tar.gz"
sha256 "4cb967e8d0ba897bc91a60006e34299687f388dd47e05fd534f2eff8379fe479"
2015-10-23 11:05:05 +00:00
head "https://github.com/jclem/gifify.git"
bottle :unneeded
depends_on "ffmpeg"
depends_on "imagemagick"
def install
bin.install "gifify.sh" => "gifify"
end
test do
system "ffmpeg", "-f", "lavfi", "-i", "testsrc", "-t", "1", "-c:v", "libx264", "test.m4v"
system "#{bin}/gifify", "test.m4v"
end
end