diff options
| author | Jack Nagel | 2013-01-26 11:57:16 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-26 12:29:03 -0600 |
| commit | e23503af3d3ed94c3981850cc4c22db35f8d02f4 (patch) | |
| tree | 9ec71ebaa29af533a0653e281eb14357c4ae0ed3 /Library/Formula | |
| parent | 343db7e49c65d188462ed6b471a54c3f75e9befa (diff) | |
| download | homebrew-e23503af3d3ed94c3981850cc4c22db35f8d02f4.tar.bz2 | |
diffpdf: depends on popper with-qt4
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/diffpdf.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/diffpdf.rb b/Library/Formula/diffpdf.rb index 1d0c4fddc..faab24efc 100644 --- a/Library/Formula/diffpdf.rb +++ b/Library/Formula/diffpdf.rb @@ -1,28 +1,12 @@ require 'formula' -class PopplerQt4 < Requirement - fatal true - - satisfy :build_env => false do - Tab.for_formula("poppler").installed_with? "--with-qt4" - end - - def message; <<-EOS.undent - DiffPDF requires the Poppler-Qt4 bindings but Poppler was not installed - with support for Qt. Please reinstall Poppler using the `--with-qt4` - option. - EOS - end -end - class Diffpdf < Formula homepage 'http://www.qtrac.eu/diffpdf.html' url 'http://www.qtrac.eu/diffpdf-2.0.0.tar.gz' sha1 'b6a52f48927721721960aa1f581f127aa8454830' depends_on 'qt' - depends_on 'poppler' - depends_on PopplerQt4.new + depends_on 'poppler' => 'with-qt4' # The location of Poppler library/include paths is hardcoded in the project file # which causes builds to fail if Homebrew is not installed to /usr/local. |
