Skip to content

Commit

Permalink
add message informing the user of tesseract-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
varenc authored and slhck committed Mar 18, 2019
1 parent 258de36 commit 1177906
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ def install
# Build and install additional FFmpeg tools
system "make", "alltools"
bin.install Dir["tools/*"].select { |f| File.executable? f }

if build.with? "tesseract"
opoo <<~EOS
The default `tesseract` dependency includes limited language support.
To add all supported languages, install the `tesseract-lang` formula.
EOS
end
end

test do
Expand Down

0 comments on commit 1177906

Please sign in to comment.