aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-12-19 18:32:22 +0000
committerMike McQuaid2014-12-19 19:07:52 +0000
commit17683eac31d5c0d6fc82942730be051c61d2f165 (patch)
tree70252543042eca8691f8ddec54b7ffabc72c19bd /Library/Formula
parent307195805f9b354164518a379b33d3cfab403dce (diff)
downloadhomebrew-17683eac31d5c0d6fc82942730be051c61d2f165.tar.bz2
mozjpeg: additional head deps
Additional head dependencies to take advantage of the ` libpng ` support. Closes #35132. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mozjpeg.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mozjpeg.rb b/Library/Formula/mozjpeg.rb
index e7821e352..62e3dc017 100644
--- a/Library/Formula/mozjpeg.rb
+++ b/Library/Formula/mozjpeg.rb
@@ -5,7 +5,13 @@ class Mozjpeg < Formula
url "https://github.com/mozilla/mozjpeg/archive/v2.1.tar.gz"
sha1 "07f8df93cd54adbec37869833de987eb12ce7062"
- head "https://github.com/mozilla/mozjpeg.git"
+ head do
+ url "https://github.com/mozilla/mozjpeg.git"
+
+ # Both these can be shifted into the main block with next release.
+ depends_on "pkg-config" => :build
+ depends_on "libpng" => :optional
+ end
bottle do
cellar :any