2010-10-22 22:15:43 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GstPluginsBad < Formula
|
2010-10-22 22:15:43 +00:00
|
|
|
homepage 'http://gstreamer.freedesktop.org/'
|
2014-02-16 18:04:24 +00:00
|
|
|
url 'http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.2.3.tar.xz'
|
|
|
|
mirror 'http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-bad-1.2.3.tar.xz'
|
|
|
|
sha256 '595d7911a9e6207dea37200587724bdbf841b81a5eb0730118be36976684278c'
|
2010-10-22 22:15:43 +00:00
|
|
|
|
2013-09-20 15:15:55 +00:00
|
|
|
head do
|
|
|
|
url 'git://anongit.freedesktop.org/gstreamer/gst-plugins-bad'
|
2013-08-14 01:29:19 +00:00
|
|
|
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on :autoconf
|
2013-08-14 01:29:19 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
end
|
|
|
|
|
2010-10-22 22:15:43 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gst-plugins-base'
|
|
|
|
|
|
|
|
depends_on 'dirac' => :optional
|
|
|
|
depends_on 'faac' => :optional
|
|
|
|
depends_on 'faad2' => :optional
|
2014-02-05 15:19:40 +00:00
|
|
|
depends_on 'gnutls' => :optional
|
2013-09-29 09:28:47 +00:00
|
|
|
depends_on 'libdvdread' => :optional
|
|
|
|
depends_on 'libexif' => :optional
|
|
|
|
depends_on 'libmms' => :optional
|
2012-01-24 03:57:32 +00:00
|
|
|
depends_on 'rtmpdump' => :optional
|
2013-09-29 09:28:47 +00:00
|
|
|
depends_on 'schroedinger' => :optional
|
2010-10-22 22:15:43 +00:00
|
|
|
|
|
|
|
def install
|
2013-03-23 22:42:12 +00:00
|
|
|
ENV.append "CFLAGS", "-funroll-loops -fstrict-aliasing"
|
2013-08-14 01:29:19 +00:00
|
|
|
|
|
|
|
args = %W[
|
|
|
|
--prefix=#{prefix}
|
|
|
|
--disable-apple_media
|
|
|
|
--disable-yadif
|
|
|
|
--disable-sdl
|
|
|
|
--disable-debug
|
|
|
|
--disable-dependency-tracking
|
|
|
|
]
|
|
|
|
|
|
|
|
if build.head?
|
|
|
|
ENV.append "NOCONFIGURE", "yes"
|
|
|
|
system "./autogen.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
system "./configure", *args
|
2010-10-22 22:15:43 +00:00
|
|
|
system "make"
|
2013-08-14 01:29:19 +00:00
|
|
|
system "make", "install"
|
2010-10-22 22:15:43 +00:00
|
|
|
end
|
|
|
|
end
|