opencv: depends on libpng

This used to get pulled in via libtiff's X11 dependency, but that was
removed so we need to explicitly specify it here.

Fixes Homebrew/homebrew#14792.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-07 15:37:26 -05:00
parent 09ee837985
commit f9e0c2fe65

View file

@ -26,6 +26,7 @@ class Opencv < Formula
depends_on 'jasper' => :optional
depends_on 'tbb' => :optional
depends_on 'qt' if build.include? 'with-qt'
depends_on :libpng
# Can also depend on ffmpeg, but this pulls in a lot of extra stuff that
# you don't need unless you're doing video analysis, and some of it isn't