From 48ff56ba257a8457b52f7dbd960934078cec924c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Rh=C3=A9aume?= Date: Wed, 22 Jul 2015 12:08:16 -0400 Subject: [PATCH] ffmpeg: add snappy option Added optional tag for libsnappy Closes Homebrew/homebrew#42022. Signed-off-by: Dominyk Tiller --- Formula/ffmpeg.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb index 55d0cec3e1..73625dd580 100644 --- a/Formula/ffmpeg.rb +++ b/Formula/ffmpeg.rb @@ -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"