ffmpeg: add chromaprint option

Closes #7713.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Dave Rice 2016-12-09 11:00:53 -05:00 committed by Tomasz Pajor
parent bdd030de09
commit 9d3a17eb6e

View file

@ -11,6 +11,7 @@ class Ffmpeg < Formula
sha256 "5927efaae97fce64142c89e1024f4bd100c9e1deef534c6a3daf44c0d9d4a4da" => :yosemite
end
option "with-chromaprint", "Enable the Chromaprint audio fingerprinting library"
option "with-fdk-aac", "Enable the Fraunhofer FDK AAC library"
option "with-libass", "Enable ASS/SSA subtitle format"
option "with-libebur128", "Enable using libebur128 for EBU R128 loudness measurement"
@ -51,6 +52,7 @@ class Ffmpeg < Formula
depends_on "x264" => :recommended
depends_on "xvid" => :recommended
depends_on "chromaprint" => :optional
depends_on "fdk-aac" => :optional
depends_on "fontconfig" => :optional
depends_on "freetype" => :optional
@ -111,6 +113,7 @@ class Ffmpeg < Formula
args << "--disable-indev=qtkit" if build.without? "qtkit"
args << "--disable-securetransport" if build.without? "securetransport"
args << "--enable-chromaprint" if build.with? "chromaprint"
args << "--enable-ffplay" if build.with? "sdl2"
args << "--enable-frei0r" if build.with? "frei0r"
args << "--enable-libass" if build.with? "libass"