ffmpeg: add snappy option
Added optional tag for libsnappy Closes Homebrew/homebrew#42022. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
70c6485c28
commit
48ff56ba25
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Ffmpeg < Formula
|
|||
option "with-libsoxr", "Enable the soxr resample library"
|
||||
option "with-webp", "Enable using libwebp to encode WEBP images"
|
||||
option "with-zeromq", "Enable using libzeromq to receive commands sent through a libzeromq client"
|
||||
option "with-snappy", "Enable Snappy library"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
|
@ -56,6 +57,7 @@ class Ffmpeg < Formula
|
|||
depends_on "libass" => :optional
|
||||
depends_on "openjpeg" => :optional
|
||||
depends_on "sdl" if build.with? "ffplay"
|
||||
depends_on "snappy" => :optional
|
||||
depends_on "speex" => :optional
|
||||
depends_on "schroedinger" => :optional
|
||||
depends_on "fdk-aac" => :optional
|
||||
|
@ -92,6 +94,7 @@ class Ffmpeg < Formula
|
|||
args << "--enable-libmp3lame" if build.with? "lame"
|
||||
args << "--enable-libvo-aacenc" if build.with? "libvo-aacenc"
|
||||
args << "--enable-libxvid" if build.with? "xvid"
|
||||
args << "--enable-libsnappy" if build.with? "snappy"
|
||||
|
||||
args << "--enable-libfontconfig" if build.with? "fontconfig"
|
||||
args << "--enable-libfreetype" if build.with? "freetype"
|
||||
|
|
Loading…
Reference in a new issue