ffmpeg should compile to work with ogg if selected
Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
b07952c319
commit
7eec7b8686
|
@ -15,6 +15,8 @@ class Ffmpeg <Formula
|
|||
depends_on 'faac' => :optional
|
||||
depends_on 'faad2' => :optional
|
||||
depends_on 'lame' => :optional
|
||||
depends_on 'theora' => :optional
|
||||
depends_on 'libogg' => :optional
|
||||
|
||||
def install
|
||||
configure_flags = [
|
||||
|
@ -30,6 +32,8 @@ class Ffmpeg <Formula
|
|||
configure_flags << "--enable-libfaac" if Formula.factory('faac').installed?
|
||||
configure_flags << "--enable-libfaad" if Formula.factory('faad2').installed?
|
||||
configure_flags << "--enable-libmp3lame" if Formula.factory('lame').installed?
|
||||
configure_flags << "--enable-libtheora" if Formula.factory('theora').installed?
|
||||
configure_flags << "--enable-libvorbis" if Formula.factory('lame').installed?
|
||||
|
||||
# For 32-bit compilation under gcc 4.2, see:
|
||||
# http://trac.macports.org/ticket/20938#comment:22
|
||||
|
|
Loading…
Reference in New Issue