Commit Graph

21 Commits (a313d9b2b752a77ac3c7f4e6562b4794006b9aac)

Author SHA1 Message Date
Mike McQuaid 9b2f9ef55a avidemux: remove duplicated .app caveats. 2014-01-19 14:19:07 -08:00
Jack Nagel e2319b3108 Add Hardware::CPU.intel? and Hardware::CPU.ppc? 2013-11-26 20:23:19 -06:00
Jack Nagel 2fc409fe1e avidemux: fix debug build 2013-11-12 11:59:31 -06:00
Samuel John 1d79105f45 avidemux: 2.6.4, --HEAD and builds with clang
A major rework of this formula.
Removed patch and some inreplace and fixes we needed earlier.
Need to deparallelize the core build, too.

Unfortunately, still doesn't build with SDL.
In the Qt-GUI it reports that the build options don't include
gettext, freetype etc. but in fact we added all of them and during
the build Avidemux seems to pick them up correctly. Therefore, the
GUI reporting code is perhaps broken.
2013-08-28 09:44:43 +02:00
Jack Nagel 52152049f9 avidemux: don't require 'find' explicitly 2013-07-13 19:08:45 -05:00
Misty De Meo f7a044271e Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Jack Nagel f19d283f8d avidemux: style 2013-06-26 19:02:49 -05:00
Adam Vandenberg 5bfe41c1b1 avidemux fails with clang 425
Closes Homebrew/homebrew#17924.
2013-05-22 10:30:45 -07:00
Jack Nagel 383e6ecd54 avidemux: make qt option explicit 2013-05-03 23:39:01 -05:00
Jack Nagel 53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
nibbles 2bits 5497156754 avidemux: add dep on :fontconfig
Avidemux-2.5 uses fontconfig, but some users may not have XQuartz.
Add a `depends_on :fontconfig`.

Fixes Homebrew/homebrew#14644

Closes Homebrew/homebrew#14665.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-03 11:38:40 -07:00
nibbles 2bits 8b035761b7 avidemux: update fails_with
avidemux fails with clang build 421. Make the adjustment.

Fixes Homebrew/homebrew#14230.
Closes Homebrew/homebrew#14231.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18 11:39:16 -05:00
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