homebrew-core/Formula/gst-libav.rb
Thijs Vermeir c15df11dae gst-libav 1.0.9
Closes Homebrew/homebrew#21777.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-13 06:44:51 -07:00

23 lines
701 B
Ruby

require 'formula'
class GstLibav < Formula
homepage 'http://gstreamer.freedesktop.org'
url 'http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.0.9.tar.xz'
mirror 'http://ftp.osuosl.org/pub/blfs/svn/g/gst-libav-1.0.9.tar.xz'
sha256 '759641c0597c24191322f40945b363b75df299a539ff4086650be6193028189a'
depends_on "pkg-config" => :build
depends_on "xz" => :build
depends_on "yasm" => :build
depends_on "gst-plugins-base"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{Formula.factory("gstreamer").opt_prefix}/bin/gst-inspect-1.0", "libav"
end
end