require 'formula' class GstPluginsGood :build depends_on 'gettext' depends_on 'gst-plugins-base' depends_on 'aalib' => :optional depends_on 'check' => :optional depends_on 'flac' => :optional depends_on 'libcaca' => :optional depends_on 'libcdio' => :optional depends_on 'libdv' => :optional depends_on 'libshout' => :optional depends_on 'orc' => :optional depends_on 'speex' => :optional depends_on 'taglib' => :optional def install system "./autogen.sh", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-schemas-install", "--disable-gtk-doc", "--disable-goom", "--with-default-videosink=ximagesink" system "make" system "make install" end end