ffmpeg: enable libass support
Closes Homebrew/homebrew#10535. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d350ae403e
commit
19ca591fed
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ class Ffmpeg < Formula
|
|||
depends_on 'libvpx' => :optional
|
||||
depends_on 'xvid' => :optional
|
||||
depends_on 'opencore-amr' => :optional
|
||||
depends_on 'libass' => :optional
|
||||
|
||||
depends_on 'sdl' if ffplay?
|
||||
|
||||
|
@ -55,6 +56,7 @@ class Ffmpeg < Formula
|
|||
args << "--enable-libxvid" if Formula.factory('xvid').installed?
|
||||
args << "--enable-libopencore-amrnb" if Formula.factory('opencore-amr').installed?
|
||||
args << "--enable-libopencore-amrwb" if Formula.factory('opencore-amr').installed?
|
||||
args << "--enable-libass" if Formula.factory('libass').installed?
|
||||
args << "--disable-ffplay" unless ffplay?
|
||||
|
||||
# For 32-bit compilation under gcc 4.2, see:
|
||||
|
|
Loading…
Reference in a new issue