aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clutter.rb
blob: a1f731422adbaca3d271447b4f0c7fd3de5fcf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Clutter < Formula
  homepage 'http://clutter-project.org/'
  url 'http://source.clutter-project.org/sources/clutter/1.6/clutter-1.6.14.tar.bz2'
  sha256 '0564e57ca8eb24e76014627c0bb28a80a6c01b620ba14bc4198365562549576d'

  depends_on 'pkg-config' => :build
  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'
  depends_on 'intltool'
  depends_on 'json-glib'
  depends_on 'pango'

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--with-flavour=osx",
                          "--with-imagebackend=quartz"
    system "make install"
  end
end