Enable x264 features in ffmpeg
Add dependency on x264 package. Only build 64 bit on SL, this probably fixes the build on leopard.
This commit is contained in:
parent
354d699e0a
commit
655a5e35a2
1 changed files with 7 additions and 3 deletions
|
@ -3,12 +3,16 @@ require 'brewkit'
|
|||
class Ffmpeg <Formula
|
||||
@head='svn://svn.ffmpeg.org/ffmpeg/trunk'
|
||||
@homepage='http://ffmpeg.org/'
|
||||
depends_on 'x264'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
configure_flags = [ "--prefix=#{prefix}",
|
||||
"--disable-debug",
|
||||
"--enable-nonfree",
|
||||
"arch=x86_64"
|
||||
"--enable-nonfree",
|
||||
"--enable-gpl",
|
||||
"--enable-libx264"]
|
||||
configure_flags << "--arch=x64_64" if Hardware.is_64_bit? and MACOS_VERSION >= 10.6
|
||||
system "./configure", *configure_flags
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue