Commit Graph

9 Commits (0f028472e516ad0242d61edf5570fdabf5f9d24d)

Author SHA1 Message Date
Adam Vandenberg 3092bce992 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg cee48126d5 avidemux: use options dsl and other cleanups 2012-08-08 22:05:16 -07:00
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00
nibbles 2bits b58a6d8df8 avidemux: fix failing inreplace
The two inreplaces that add an RPATH to the x264 and xvid dylibs
are not meant to run unless the Qt gui is built.  The conditional
that stops them from running was not coded correctly.  This commit
changes the conditional to only run the inreplaces if Qt4 is
installed using `linked_keg.exist?`.

Fixes an issue reported in Homebrew/homebrew#12051

Closes Homebrew/homebrew#12213.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-13 13:37:06 -05:00
Adam Vandenberg 2ab4fa3fae Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
nibbles 2bits 79245634ed avidemux: adjust merged patch, use fails_with
Avidemux-2.5.6 had its one patch merged upstream the day this
formula was accepted.  That was hoped for but unexpected.  This
commit adjusts the conditional for def patches so that it only
gets applied to stable.  Fixes a patch failure for 32bit + HEAD.

Also in this commit, remove the hardcoded `ENV.llvm` and switch
to using `fails_with :clang`, surrounded by a conditional so it
can still be built with clang if `--with-debug`.

Closes Homebrew/homebrew#11959.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30 17:23:48 -05:00
Nibbles 2bits 5dc91132e1 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 <flangy@gmail.com>
2012-04-28 11:42:13 -07:00
Mike McQuaid 5e34bb4432 Revert "New Formula: avidemux"
This reverts commit bae5b33a0fe0cac2dab08bcb1530c80410d82535.
2012-01-19 22:49:43 +00:00
Nibbles 2bits 9cb74c0b70 New Formula: avidemux
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.5, and that builds but has no OSX fixes.
All the work done with their devs is in svn on the 2.5 branch.
This formula will build 2.5svn, which today is 2.5.5 r7644.

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'

Closes Homebrew/homebrew#8429.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-19 22:30:19 +00:00