diff options
Diffstat (limited to 'Library')
| l--------- | Library/Aliases/mp4box | 1 | ||||
| -rw-r--r-- | Library/Formula/gpac.rb | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/Library/Aliases/mp4box b/Library/Aliases/mp4box new file mode 120000 index 000000000..4f0ac84c1 --- /dev/null +++ b/Library/Aliases/mp4box @@ -0,0 +1 @@ +../Formula/gpac.rb
\ No newline at end of file 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 <Formula + url 'http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gz' + homepage 'http://gpac.sourceforge.net/index.php' + md5 '755e8c438a48ebdb13525dd491f5b0d1' + + depends_on 'sdl' => :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 |
