FFmpeg formula (10.6 only)
The formula is 10.6 only because it compiles 64 bit, if you are a Leopard user please patch! The MACOS_VERSION constant may be useful. FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.
This commit is contained in:
parent
ea309d16bb
commit
8829204c1e
1 changed files with 14 additions and 0 deletions
14
Formula/ffmpeg.rb
Normal file
14
Formula/ffmpeg.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'brewkit'
|
||||
|
||||
class Ffmpeg <Formula
|
||||
@head='svn://svn.ffmpeg.org/ffmpeg/trunk'
|
||||
@homepage='http://ffmpeg.org/'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--disable-debug",
|
||||
"--enable-nonfree",
|
||||
"arch=x86_64"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue