# -*- 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 150564 2016-07-21 23:00:21Z devans@macports.org $ PortSystem 1.0 PortGroup gobject_introspection 1.0 name clutter version 1.26.0 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 https://wiki.gnome.org/Projects/Clutter master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 4f268074904a5d97970145a64de8e6ec7e3922aa \ sha256 67514e7824b3feb4723164084b36d6ce1ae41cb3a9897e9f1a56c8334993ce06 depends_build port:pkgconfig depends_lib port:atk \ port:gtk3 \ path:lib/pkgconfig/cairo.pc:cairo \ path:lib/pkgconfig/pango.pc:pango \ port:json-glib \ port:cogl gobject_introspection yes patchfiles patch-use-x11-backend-as-default.diff 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-gdk-backend=yes \ --enable-x11-backend=yes \ --enable-gdk-pixbuf=yes \ --enable-quartz-backend=no \ --disable-examples \ --disable-silent-rules \ --disable-gtk-doc } variant quartz conflicts x11 { configure.args --without-x \ --enable-x11-backend=no \ --enable-gdk-backend=yes \ --enable-gdk-pixbuf=no \ --enable-quartz-backend=yes \ --disable-silent-rules \ --disable-gtk-doc } variant debug description {Enable full debugging} { configure.args-append --enable-debug=yes } if {![variant_isset quartz]} { default_variants +x11 } livecheck.type gnome