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

class Clutter < Formula
  homepage 'http://clutter-project.org/'
  url 'http://source.clutter-project.org/sources/clutter/1.10/clutter-1.10.6.tar.bz2'
  sha256 '791bf752de2636989b82007d9f2a3a83bba56b13c329f40ca67e4d35ed982b31'

  depends_on 'pkg-config' => :build
  depends_on 'atk'
  depends_on 'intltool'
  depends_on 'json-glib'
  depends_on 'pango'
  depends_on 'cairo' # for cairo-gobject
  depends_on :x11
  depends_on 'cogl'
  depends_on 'gdk-pixbuf'

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-introspection",
                          "--enable-quartz-backend",
                          "--disable-x11-backend"
    system "make install"
  end
end