graphviz: support pdf output with pango/cairo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
2e7b8116cb
commit
ee101c9181
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@ class Graphviz < Formula
|
|||
|
||||
depends_on 'pkg-config' => :build
|
||||
|
||||
if ARGV.include? '--with-pdf'
|
||||
depends_on 'pango'
|
||||
depends_on 'cairo' if MACOS_VERSION < 10.6
|
||||
end
|
||||
|
||||
def options
|
||||
[["--with-pdf", "Build with Pango/Cairo to support native PDF output"]]
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.x11
|
||||
# Various language bindings fail with 32/64 issues.
|
||||
|
|
Loading…
Reference in a new issue