Skip to content

Commit

Permalink
ffmpeg: add chromaprint option
Browse files Browse the repository at this point in the history
Closes #7713.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
  • Loading branch information
dericed authored and nijikon committed Dec 9, 2016
1 parent bdd030d commit 9d3a17e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -111,6 +113,7 @@ def install

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"
Expand Down

0 comments on commit 9d3a17e

Please sign in to comment.