Files
tigerbrew/Library/Formula/cairo.rb
T
Philip Paeps 7d215c7d1b cairo: build with xcb support
XCB is a more "modern" way of communicating with X11 servers than
straight XLib.  It is required by some X11 applications.  Enabling
support in cairo should not affect applications which don't use it
explicitly.

Closes #9598.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:21:25 -06:00

24 lines
702 B
Ruby

require 'formula'
class Cairo < Formula
homepage 'http://cairographics.org/'
url 'http://www.cairographics.org/releases/cairo-1.10.2.tar.gz'
sha1 'ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
depends_on 'pkg-config' => :build
depends_on 'pixman'
keg_only :provided_by_osx,
"The Cairo provided by Leopard is too old for newer software to link against."
fails_with_llvm "Throws an 'lto could not merge' error during build.", :build => 2336
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-x",
"--enable-xcb"
system "make install"
end
end