ffmpeg formula: add optional xvid dependency
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
9901d5de07
commit
81b93ed592
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ class Ffmpeg <Formula
|
|||
depends_on 'libvorbis' => :optional
|
||||
depends_on 'libogg' => :optional
|
||||
depends_on 'libvpx' => :optional
|
||||
depends_on 'xvid' => :optional
|
||||
|
||||
def install
|
||||
args = ["--disable-debug",
|
||||
|
@ -32,6 +33,7 @@ class Ffmpeg <Formula
|
|||
args << "--enable-libtheora" if Formula.factory('theora').installed?
|
||||
args << "--enable-libvorbis" if Formula.factory('libvorbis').installed?
|
||||
args << "--enable-libvpx" if Formula.factory('libvpx').installed?
|
||||
args << "--enable-libxvid" if Formula.factory('xvid').installed?
|
||||
|
||||
# For 32-bit compilation under gcc 4.2, see:
|
||||
# http://trac.macports.org/ticket/20938#comment:22
|
||||
|
|
Loading…
Reference in a new issue