From 70f75baf80d52f5260e710a47d2832d836605afb Mon Sep 17 00:00:00 2001 From: Cameron Pope Date: Wed, 28 Jul 2010 11:09:39 -0600 Subject: Create formula for gpac project, including MP4Box GPAC (Gpac Project for Advanced Content) is a suite of tools for manipulating mpeg-4/h.264 video files. The most common need for this package is for the MP4Box application that will interleave metadata in a .mp4 file to support fast start and streaming for h.264 video. Signed-off-by: Adam Vandenberg --- Library/Formula/gpac.rb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Library/Formula/gpac.rb (limited to 'Library/Formula') diff --git a/Library/Formula/gpac.rb b/Library/Formula/gpac.rb new file mode 100644 index 000000000..91820c435 --- /dev/null +++ b/Library/Formula/gpac.rb @@ -0,0 +1,29 @@ +require 'formula' + +# +# Installs a relatively minimalist version of the GPAC tools. The +# most commonly used tool in this package is the MP4Box metadata +# interleaver, which has relatively few dependencies. +# +# The challenge with building everything is that Gpac depends on +# a much older version of FFMpeg and WxWidgets than the version +# that Brew installs +# + +class Gpac :optional + + def install + ENV.deparallelize + system "chmod +x configure" + system "./configure", "--disable-wx", "--use-ffmpeg=no", + "--prefix=#{prefix}", + "--mandir=#{man}" + system "make" + system "make install" + end +end -- cgit v1.2.3