# -*- 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
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {devans @dbevans} openmaintainer
description A generic high-level canvas library.
long_description Clutter is an open source software library for \
creating fast, compelling, portable, and dynamic graphical \
homepage https://wiki.gnome.org/Projects/Clutter
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 b21d663d940d5a052453fe760f3a714eaa125983 \
sha256 e7233314983055e9018f94f56882e29e7fc34d8d35de030789fdcd9b2d0e2e56
depends_build port:pkgconfig
path:lib/pkgconfig/cairo.pc:cairo \
path:lib/pkgconfig/pango.pc:pango \
gobject_introspection yes
patchfiles patch-use-x11-backend-as-default.diff
variant x11 conflicts quartz {
depends_lib-append port:gdk-pixbuf2 \
port:xorg-libXcomposite \
configure.args --with-x \
--x-includes=${prefix}/include \
--x-libraries=${prefix}/lib \
--enable-gdk-backend=yes \
--enable-x11-backend=yes \
--enable-gdk-pixbuf=yes \
--enable-quartz-backend=no \
variant quartz conflicts x11 {
configure.args --without-x \
--enable-x11-backend=no \
--enable-gdk-backend=yes \
--enable-quartz-backend=yes \