# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 106601 2013-05-31 20:45:05Z devans@macports.org $ PortSystem 1.0 name clutter version 1.12.2 revision 1 license LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] categories graphics maintainers devans openmaintainer platforms darwin macosx description A generic high-level canvas library. long_description Clutter is an open source software library for \ creating fast, compelling, portable, and dynamic graphical \ user interfaces. homepage http://blogs.gnome.org/clutter/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums sha256 27a8c4495099ea33de39c2d9a911a2c9e00ffa4dcc8f94fafedbcc752c0ddf13 \ rmd160 c654defd32c2fb20653e46ba541ef544e6c4b11b depends_build port:pkgconfig depends_lib port:atk \ path:lib/pkgconfig/cairo.pc:cairo \ path:lib/pkgconfig/pango.pc:pango \ port:json-glib \ port:cogl variant x11 conflicts quartz { depends_lib-append port:gdk-pixbuf2 \ port:xorg-libXcomposite \ port:xorg-libXdamage \ port:xorg-libXext \ port:xorg-libXfixes configure.args --with-x \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --enable-x11-backend=yes \ --enable-gdk-pixbuf=yes \ --enable-quartz-backend=no \ --enable-introspection=yes \ --disable-silent-rules \ --disable-gtk-doc } variant quartz conflicts x11 { configure.args --without-x \ --enable-x11-backend=no \ --enable-gdk-pixbuf=no \ --enable-quartz-backend=yes \ --enable-introspection=yes \ --disable-silent-rules \ --disable-gtk-doc } variant debug description {Enable full debugging} { configure.args-append --enable-debug=yes \ --disable-tests } default_variants +x11 livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/