From e23503af3d3ed94c3981850cc4c22db35f8d02f4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 26 Jan 2013 11:57:16 -0600 Subject: diffpdf: depends on popper with-qt4 --- Library/Formula/diffpdf.rb | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Library/Formula') 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. -- cgit v1.2.3