2010-02-14 01:59:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Clutter < Formula
|
2011-04-10 14:54:55 +00:00
|
|
|
homepage 'http://clutter-project.org/'
|
2012-02-11 19:47:11 +00:00
|
|
|
url 'http://source.clutter-project.org/sources/clutter/1.6/clutter-1.6.20.tar.bz2'
|
|
|
|
sha256 'c4e40c7a553a0437a3b8c54da440bf54b44114bd83d68d4eeea425fed90e046e'
|
2010-02-14 01:59:16 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-04-10 14:54:55 +00:00
|
|
|
depends_on 'atk'
|
|
|
|
# Cairo is keg-only and usually only used for Leopard builds.
|
|
|
|
# But Clutter requires a newer version of Cairo that what comes with Snow Leopard.
|
|
|
|
depends_on 'cairo'
|
2010-02-14 01:59:16 +00:00
|
|
|
depends_on 'intltool'
|
2011-04-10 14:54:55 +00:00
|
|
|
depends_on 'json-glib'
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pango'
|
2010-02-14 01:59:16 +00:00
|
|
|
|
|
|
|
def install
|
2011-04-10 14:54:55 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--with-flavour=osx",
|
2012-02-11 19:47:11 +00:00
|
|
|
"--with-imagebackend=quartz",
|
|
|
|
"--disable-introspection"
|
2010-02-14 01:59:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|