2013-02-12 15:03:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GstLibav < Formula
|
|
|
|
homepage 'http://gstreamer.freedesktop.org'
|
2013-07-14 13:41:01 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.0.8.tar.xz'
|
|
|
|
mirror 'http://ftp.osuosl.org/pub/blfs/svn/g/gst-libav-1.0.8.tar.xz'
|
|
|
|
sha256 'e6e538290e585c993609337761d894dd1b6b53ef625798b2a511d5314579995f'
|
2013-02-12 15:03:02 +00:00
|
|
|
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "xz" => :build
|
|
|
|
depends_on "gst-plugins-base"
|
|
|
|
|
|
|
|
def install
|
2013-02-12 17:32:27 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2013-02-12 15:03:02 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2013-03-23 22:01:42 +00:00
|
|
|
test do
|
2013-03-24 02:19:23 +00:00
|
|
|
system "#{Formula.factory("gstreamer").opt_prefix}/bin/gst-inspect-1.0", "libav"
|
2013-02-12 15:03:02 +00:00
|
|
|
end
|
|
|
|
end
|