Commit Graph
63 Commits
Author SHA1 Message Date
samueljohn 6740810501 ffmpeg: Xcode-only install needs additional flags
Two flags are necessary for Xcode-only systems: `--host-cflags` and
`--host-ldflags` are set to `ENV.cflags` and `ENV.ldflags`,
respectively.

Closes #13344.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-13 02:49:41 -05:00
Jack Nagel a2d4d9d832 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Misty De Meo c2a04d3b18 ffmpeg: add optional openjpeg dep
Fixes #12802.
2012-06-14 12:01:49 -05:00
nibbles 2bits 608a7598eb ffmpeg 0.11.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-10 08:00:56 -07:00
Jack Nagel d8005c3939 ffmpeg: no longer fails with LLVM
Closes #12466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-29 23:12:24 -05:00
Dave Rice 580f1b8e81 ffmpeg 0.11
Closes #12439.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-27 23:29:10 -05:00
Michael S. Fischer 150fc6e0b7 ffmpeg: add libvo-aacenc support
This patch compiles ffmpeg against libvo-aacenc (if installed) to
provide AAC encoding support - preferred by the maintainers over
libfaac.

Closes #12231.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-20 16:19:00 -05:00
nibbles 2bits 48fc4bceed ffmpeg 0.10.3
Upgrade ffmpeg to version 0.10.3 which includes many security
fixes and bugfixes.  The changelog can be seen in their git repo
under the 0.10.3 tag, tree view, raw link to Changelog.

This still fails with llvm on Lion with undefined symbols.  Using
clang all the the tools and ffplay compile and display an mkv
with sound using sdl.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-07 06:37:59 -07:00
Charlie Sharpsteen b0ea0479a8 ffmpeg: Actually change optional deps checking
Ooops, this should have been ammended onto 9e24c7a.
2012-05-03 11:33:43 -07:00
nibbles 2bits 9e24c7a9d4 ffmpeg: use linked_keg when checking optional deps
ffmpeg when built as head checks if x264 is installed using
`Formula.factory.installed?` that won't find x264 stable as it looks for a HEAD
build.  Switch from `.installed?` to `linked_keg.exist?` for all dependencies
as this will find them whether they are installed as head or stable.

Fixes #11996.
Closes #12020.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-05-03 11:23:28 -07:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Dave Rice 99bad73aaa ffmpeg 0.10.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-27 00:54:56 -07:00
rogeriopvl da2568d965 ffmpeg: enable libass support
Closes #10535.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27 16:09:45 -06:00
dinkypumpkin fb01c6e9f5 ffmpeg: Remove version string generation for HEAD builds
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 10:11:17 -08:00
Dave Rice e800e256e8 ffmpeg 0.10
Closes #9830.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-02-02 12:44:00 -06:00
Jack Nagel 4027968d0f ffmpeg: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25 22:25:58 -06:00
Sandeep Ghael b21cc10db1 ffmpeg: add optional dep on opencore-amr
Closes #8986.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-23 23:35:21 -06:00
Jakob Schlyter 53d2e770d9 ffmpeg: add rtmp support
Closes #9399.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-23 23:07:08 -06:00
Charlie Sharpsteen b369f6667e FFmpeg: Update to 0.9.1 2012-01-12 12:04:25 -08:00
Misty De Meo ac70933693 ffmpeg: add libfreetype in configuration 2012-01-05 21:17:16 -06:00
Misty De Meo 774379102e ffmpeg: fix compilation under Leopard
Fixes #9312.
2012-01-04 14:12:39 -06:00
Misty De Meo 09d5b0e63d ffmpeg: fix compilation on 32-bit Leopard 2011-12-28 12:08:20 -06:00
Misty De Meo 2c0c6efb73 ffmpeg 0.9
ffmpeg 0.9 still fails with llvm on all builds. It will build with
clang.

API remains compatible with 0.8, so no that depends_on 'ffmpeg' has
broken.
2011-12-12 14:16:47 -06:00
Trevor Wennblom ac1ce7ea4f ffmpeg: update to 0.8.7
still requires --use-gcc

Closes #8728.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-22 20:19:22 -08:00
Charlie Sharpsteen cdcb773c44 FFmpeg: Add option to build ffplay
The ffplay binary is only built by default if SDL is present---which made
obtaining it a hit-and-miss operation for some users. A new option,
`--with-ffplay`, has been added that will cause ffplay to be built.

ffplay will be explicitly disabled if the option is not invoked.

Fixes #6880.
2011-11-09 12:02:42 -08:00
Charlie Sharpsteen 51fc7e7af2 FFmpeg: Update to 0.8.6 2011-11-09 11:56:29 -08:00
Charlie Sharpsteen a1b65c4cba FFmpeg: Update to 0.8.5 2011-10-09 21:28:58 -07:00
Charlie Sharpsteen 380aa8fde3 FFmpeg: Update to 0.8.4
Also, flag as `fails_with_llvm`.

Closes #7715.
2011-09-23 18:56:44 -07:00
Gregory Man 5fe6ab8da1 FFmpeg: Added option to install FFmpeg tools
Closes #7298.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30 17:35:07 -07:00
Lenny222 588c26f8b2 FFmpeg: upgrade to 0.8.2
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-26 13:27:07 -07:00
Max Howell 93f03aa278 Some more sanity with ENV.compiler
Deprecated use_clang? etc. since the logic was such that multiple states could be set, when in reality only one compiler can be set.

Changed fails_with_llvm handling so if HOMEBREW_USE_LLVM is set then it tries to build even if the formula has fails_with_llvm set. Rationale: mostly they will no longer fail and we need to catch these cases.
2011-08-26 14:21:37 +01:00
Charlie Sharpsteen 407fc3b6a8 FFmpeg: Re-enable shared libraries
Removing shared libraries from the FFmpeg build has broken a couple of formulae
that depend on it. This is because the shared libraries provided linker
information pertaining to the FFmpeg dependencies.

Re-enabling shared libraries fixes build issues FFmpeg-PHP (issue #6832) and
GRASS GIS.

Static libraries are still built.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-19 09:43:05 -07:00
João 0b5e0a66dc ffmpeg: always use clang to compile on Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-14 16:43:06 -07:00
Artem Baguinski 33ce4de03d ffmpeg: remove now-unused dependency
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-05 14:57:38 -07:00
Fabián Arias d6fe05fbce ffmpeg: allow use of alternate compilers 2011-06-30 09:27:39 -07:00
Paul Howes 608993fd28 ffmpeg 0.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-30 07:24:25 -07:00
Trevor Wennblom 1563196a42 ffmpeg 0.6.3
Fixes #6136

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-25 19:49:40 -07:00
dinkypumpkin bdd1ac7af7 ffmpeg: restored ffmpeg.org links, fixed inreplace edit
1. Original ffmpeg developers have regained ffmpeg.org from
libav fork, so url and head links have been reset accordingly.
2. Fixed config.mak inreplace munging for 64-bit builds
(was breaking HEAD builds)
3. Changed version string generation to first try version.sh
script in git repo before falling back to 'git describe'

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-11 07:53:14 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
dinkypumpkin d70595ceca ffmpeg: fix version stamp for HEAD builds
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 17:05:36 -07:00
dinkypumpkin 1019f5b137 ffmpeg 0.6.2
This project is now known as libav upstream, but still compiles to "ffmpeg",
so add an alias. Also update the homepage and download urls.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 13:32:54 -07:00
Adam Vandenberg 46c553ad43 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
dinkypumpkin 0162a03a7d point head to git repo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-14 15:28:30 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
David Backeus bc21a8adb3 Updated FFMPEG to 0.6.1.
Skip --enable-libfaad flag if installing from head as it is no
longer availible.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:37:30 -08:00
Pavel Gorbokon abac30c2da ffmpeg formula: add optional xvid dependency
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 17:23:00 -07:00
Philip Weaver 09e157d76b ffmpeg: add support for compiling with libvpx
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-29 14:06:52 +02:00
Adam Vandenberg 31f1fabd03 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00
Adam Vandenberg cbf3bddd99 ffmpeg won't compile when jack is installed 2010-08-14 10:05:39 -07:00
Adam Vandenberg 2c75354533 Use is_32_bit? and remove negatives. 2010-08-08 11:28:33 -07:00