Commit Graph
18 Commits
Author SHA1 Message Date
Samuel John e31b48cb77 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 ca18c0697d avidemux: don't require 'find' explicitly 2013-07-13 19:08:45 -05:00
Misty De Meo 7fc8cc09a3 Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Jack Nagel c9b82819d2 avidemux: style 2013-06-26 19:02:49 -05:00
Adam Vandenberg d13cf7b795 avidemux fails with clang 425
Closes #17924.
2013-05-22 10:30:45 -07:00
Jack Nagel 8211571d6b avidemux: make qt option explicit 2013-05-03 23:39:01 -05:00
Jack Nagel 6b8d25f2d2 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 14284c2a6c avidemux: add dep on :fontconfig
Avidemux-2.5 uses fontconfig, but some users may not have XQuartz.
Add a `depends_on :fontconfig`.

Fixes #14644

Closes #14665.

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

Fixes #14230.
Closes #14231.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18 11:39:16 -05:00
Adam Vandenberg e40bc41d84 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg d553022071 avidemux: use options dsl and other cleanups 2012-08-08 22:05:16 -07:00
Jack Nagel 071c3eb3f4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00
nibbles 2bits 05abb1e26f 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 #12051

Closes #12213.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-13 13:37:06 -05:00
Adam Vandenberg d4185d557b Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
nibbles 2bits 37eca004ee 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 #11959.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30 17:23:48 -05:00
Nibbles 2bits 2123f58c9f 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 #8429.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 11:42:13 -07:00
Mike McQuaid b836295d56 Revert "New Formula: avidemux"
This reverts commit bae5b33a0f.
2012-01-19 22:49:43 +00:00
Nibbles 2bits bae5b33a0f 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 #8429.

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