homebrew-core/Formula/pixman.rb
Jack Nagel 73a30cddba pixman: never try LLVM
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-03 16:01:31 -05:00

33 lines
864 B
Ruby

require 'formula'
class Pixman < Formula
homepage 'http://cairographics.org/'
url 'http://cairographics.org/releases/pixman-0.24.4.tar.gz'
sha1 'efaa09789128ebc42d17a11d2e350b7217a7cd05'
depends_on 'pkg-config' => :build
fails_with :llvm do
build 2336
cause <<-EOS.undent
Building with llvm-gcc causes PDF rendering issues in Cairo.
https://trac.macports.org/ticket/30370
See Homebrew issues #6631, #7140, #7463, #7523.
EOS
end
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.x11
ENV.universal_binary if ARGV.build_universal?
# Disable gtk as it is only used to build tests
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-gtk=no"
system "make install"
end
end