avidemux 2.5.6
avidemux 2.5.6

Avidemux is a popular video editor, actively developed since 2001.
Working with their lead engineer, the OSX code has been corrected,
and now the formula will build avidemux2_cli, the command line
version, with every video filter, encoder, and decoder available.

In addition, if the user has Qt installed, this will automatically
build the Qt gui, avidemux2.  Several weeks of work also gets us a
new CoreAudio output device for Qt, a feature missing since 2008.

Macports has a portfile for 2.5.3, a very buggy version.
The latest stable is 2.5.6. This formula will build stable or
2.5svn, which today is 2.5.6 r7750.

The 2.5 branch, called avidemux2, is being finalized.
The 2.6 branch, called avidemux3, is being very actively developed.

EDIT: removed patches merged upstream
EDIT: now compiles against r7668 on Lion.
EDIT: fixes indentation, removes some debug commands
EDIT: put two patches inline not on fileden
EDIT: remove patches merged upstream, inline variable 'a'
EDIT: add patch for ffmpeg compiling on 32bit OSX,
      switch url to 2.5.6 stable, add head (tested at r7724)
EDIT: remove dep on libvpx that fails with XCode-4.3.
EDIT: add back in the libvpx, it's fixed. Fix svn revision patch.
EDIT: Make svn rev patch apply only to head. Use cached_download
EDIT: Change head url to use http not svn.  Berlios svn offline.
EDIT: Install app to prefix not bin by Homebrew convention.
EDIT: Build verbose if brewed --with-debug.
EDIT: Fix optimization: O3 for regular, -g -O0 for clang debug,
      and -ggdb3 -O2 for llvm or gcc debug.
EDIT: shorten inreplaces, use buildpath, make test work w/head.
EDIT: remove cd, use mkdir do. use interpolated array style.
EDIT: Revert to allowing HB to use -Os.
EDIT: Add a patch for Jack's 32bit Snow Lep.

Closes Homebrew/homebrew#8429.

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>

mbcoguno/homebrew-core,zmwangx/homebrew-core,ilovezfs/homebrew-core,LinuxbrewTestBot/homebrew-core,reelsense/homebrew-core,mahori/homebrew-core,cblecker/homebrew-core,kunickiaj/homebrew-core,robohack/homebrew-core,andyjeffries/homebrew-core,sjackman/homebrew-core,git-lfs/homebrew-core,rwhogg/homebrew-core,jabenninghoff/homebrew-core,tkoenig/homebrew-core,JCount/homebrew-core,rwhogg/homebrew-core,stgraber/homebrew-core,jvehent/homebrew-core,robohack/homebrew-core,mvitz/homebrew-core,mfikes/homebrew-core,DomT4/homebrew-core,filcab/homebrew-core,uyjulian/homebrew-core,aabdnn/homebrew-core,sdorra/homebrew-core,Moisan/homebrew-core,moderndeveloperllc/homebrew-core,gserra-olx/homebrew-core,Linuxbrew/homebrew-core,forevergenin/homebrew-core,bfontaine/homebrew-core,ShivaHuang/homebrew-core,straxhaber/homebrew-core,zyedidia/homebrew-core,nandub/homebrew-core,edporras/homebrew-core,bigbes/homebrew-core,jdubois/homebrew-core,forevergenin/homebrew-core,cblecker/homebrew-core,andyjeffries/homebrew-core,jabenninghoff/homebrew-core,LinuxbrewTestBot/homebrew-core,phusion/homebrew-core,ilovezfs/homebrew-core,mvbattista/homebrew-core,Moisan/homebrew-core,FinalDes/homebrew-core,lasote/homebrew-core,zyedidia/homebrew-core,filcab/homebrew-core,git-lfs/homebrew-core,lembacon/homebrew-core,mvbattista/homebrew-core,bcg62/homebrew-core,maxim-belkin/homebrew-core,mbcoguno/homebrew-core,spaam/homebrew-core,kunickiaj/homebrew-core,BrewTestBot/homebrew-core,ylluminarious/homebrew-core,moderndeveloperllc/homebrew-core,wolffaxn/homebrew-core,adamliter/homebrew-core,grhawk/homebrew-core,gserra-olx/homebrew-core,kuahyeow/homebrew-core,battlemidget/homebrew-core,BrewTestBot/homebrew-core,lemzwerg/homebrew-core,sdorra/homebrew-core,reelsense/homebrew-core,ShivaHuang/homebrew-core,chrisfinazzo/homebrew-core,bfontaine/homebrew-core,aabdnn/homebrew-core,jvehent/homebrew-core,edporras/homebrew-core,lembacon/homebrew-core,adamliter/homebrew-core,mahori/homebrew-core,makigumo/homebrew-core,DomT4/homebrew-core,aren55555/homebrew-core,jdubois/homebrew-core,bigbes/homebrew-core,bcg62/homebrew-core,uyjulian/homebrew-core,maxim-belkin/homebrew-core,jdubois/homebrew-core,phusion/homebrew-core,jvillard/homebrew-core,smessmer/homebrew-core,FinalDes/homebrew-core,jvillard/homebrew-core,straxhaber/homebrew-core,smessmer/homebrew-core,aren55555/homebrew-core,j-bennet/homebrew-core,wolffaxn/homebrew-core,kuahyeow/homebrew-core,j-bennet/homebrew-core,Linuxbrew/homebrew-core,tkoenig/homebrew-core,grhawk/homebrew-core,lembacon/homebrew-core,Homebrew/homebrew-core,mfikes/homebrew-core,mbcoguno/homebrew-core,nbari/homebrew-core,JCount/homebrew-core,adam-moss/homebrew-core,jvillard/homebrew-core,nbari/homebrew-core,mvitz/homebrew-core,Homebrew/homebrew-core,dsXLII/homebrew-core,fvioz/homebrew-core,spaam/homebrew-core,mvitz/homebrew-core,ylluminarious/homebrew-core,chrisfinazzo/homebrew-core,wolffaxn/homebrew-core,zmwangx/homebrew-core,battlemidget/homebrew-core,nandub/homebrew-core,stgraber/homebrew-core,passerbyid/homebrew-core,passerbyid/homebrew-core,fvioz/homebrew-core,makigumo/homebrew-core,adam-moss/homebrew-core,sjackman/homebrew-core,bcg62/homebrew-core,lasote/homebrew-core,dsXLII/homebrew-core,lemzwerg/homebrew-core