2014-07-06 21:09:22 +00:00
|
|
|
require "formula"
|
2010-01-04 23:47:07 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pixman < Formula
|
2014-07-06 21:09:22 +00:00
|
|
|
homepage "http://cairographics.org/"
|
|
|
|
url "http://cairographics.org/releases/pixman-0.32.6.tar.gz"
|
|
|
|
sha256 "3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904"
|
2010-01-04 23:47:07 +00:00
|
|
|
|
2014-02-22 15:18:15 +00:00
|
|
|
bottle do
|
2014-07-06 21:17:41 +00:00
|
|
|
cellar :any
|
|
|
|
sha1 "60ef712e79cb90762dfb4d3af361b5b5d9a0caac" => :mavericks
|
|
|
|
sha1 "b71ef451728c982f8a16edf7d93032a6f8ddbbf6" => :mountain_lion
|
|
|
|
sha1 "2c2239c33b62feb61fba0a55cfd19f9d3d7ee443" => :lion
|
2014-02-22 15:18:15 +00:00
|
|
|
end
|
|
|
|
|
2014-07-06 21:09:22 +00:00
|
|
|
depends_on "pkg-config" => :build
|
2010-01-04 23:47:07 +00:00
|
|
|
|
2012-08-23 16:49:08 +00:00
|
|
|
keg_only :provided_pre_mountain_lion
|
2012-07-03 13:26:17 +00:00
|
|
|
|
2012-08-12 17:58:25 +00:00
|
|
|
option :universal
|
|
|
|
|
2012-04-03 21:01:31 +00:00
|
|
|
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
|
2012-03-18 20:33:24 +00:00
|
|
|
|
2010-01-04 23:47:07 +00:00
|
|
|
def install
|
2012-08-12 17:58:25 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2012-02-04 06:19:46 +00:00
|
|
|
|
2014-05-19 17:44:54 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-gtk"
|
|
|
|
system "make", "install"
|
2010-01-04 23:47:07 +00:00
|
|
|
end
|
|
|
|
end
|