diff options
| author | Jack Nagel | 2013-01-26 11:57:16 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-26 12:29:00 -0600 |
| commit | 343db7e49c65d188462ed6b471a54c3f75e9befa (patch) | |
| tree | 64b32b4f0c01ef8cd32925c3adc6ccd2177b54d7 /Library/Formula | |
| parent | 8755c695c323c83f23b3e63bbfcab2ac9896d0fb (diff) | |
| download | homebrew-343db7e49c65d188462ed6b471a54c3f75e9befa.tar.bz2 | |
pdf2svg: depends on poppler with-glib
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pdf2svg.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/pdf2svg.rb b/Library/Formula/pdf2svg.rb index 89c950c30..804d9ef2d 100644 --- a/Library/Formula/pdf2svg.rb +++ b/Library/Formula/pdf2svg.rb @@ -1,20 +1,5 @@ require 'formula' -class PopplerGlib < Requirement - fatal true - - satisfy :build_env => false do - Tab.for_formula("poppler").installed_with? "--with-glib" - end - - def message; <<-EOS.undent - pdf2svg requires the Poppler-Glib bindings but Poppler was not installed - with support for glib. Please reinstall Poppler using the `--with-glib` - option. - EOS - end -end - class Pdf2svg < Formula url 'http://www.cityinthesky.co.uk/_media/opensource/pdf2svg-0.2.1.tar.gz' homepage 'http://www.cityinthesky.co.uk/opensource/pdf2svg' @@ -23,8 +8,7 @@ class Pdf2svg < Formula depends_on "pkg-config" => :build depends_on :x11 - depends_on "poppler" - depends_on PopplerGlib.new + depends_on "poppler" => "with-glib" depends_on "gtk+" depends_on "cairo" # Poppler-glib needs a newer cairo than provided by OS X 10.6.x # and pdf2svg needs it to be on PKG_CONFIG_PATH during the build |
