Skip to content
Permalink
Browse files

clutter: address some issues from https://trac.macports.org/ticket/29092

.

    * update dependencies based on current port configuration requirements
    * default configuration remains glx/gdk-pixbuf for compatibility with all
      darwin platforms (not just macosx)
    * add macosx to platforms declaration
    * rename +no_x11 variant to +quartz for clarity but leave +no_x11 as an alias
      for backwards compatibility
    * allow +quartz/+no_x11 variant on macosx platforms only per jmr's comment
    * +quartz variant configuration remains macosx/quartz (experimental)
    * for clarity, explicitly indicate configuration options even when defaults are selected
    * correct typo in --x-libraries configuration option

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77796 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
dbevans committed Apr 13, 2011
1 parent a6d44b9 commit c67bd48a490b3e531132660a5c3aa2ed760bdf81
Showing with 29 additions and 10 deletions.
  1. +29 −10 graphics/clutter/Portfile
@@ -8,7 +8,7 @@ version 1.6.14
set branch [string range $version 0 [expr [string last "." $version] - 1]]
categories graphics
maintainers devans openmaintainer
platforms darwin
platforms darwin macosx
description A generic high-level canvas library.
long_description Clutter is an open source software library for \
creating fast, visually rich and animated graphical \
@@ -23,24 +23,43 @@ checksums md5 1da9f983115f9bd28b0be8176e53fe36 \

depends_build port:pkgconfig

depends_lib port:gtk2 \
depends_lib port:atk \
port:cairo \
port:pango \
port:gdk-pixbuf2 \
port:mesa \
port:xorg-libXdamage \
port:xorg-libXcomposite \
port:json-glib

configure.args --with-flavour=glx \
--with-imagebackend=gdk-pixbuf \
--with-x \
--x-includes=${prefix}/include \
--x-libraries=${prefix}/include \
--x-libraries=${prefix}/lib \
--enable-introspection=no \
--disable-gtk-doc

variant no_x11 {
depends_lib-delete port:mesa
configure.args-delete --with-flavour=glx \
--with-imagebackend=gdk-pixbuf \
--x-includes=${prefix}/include \
--x-libraries=${prefix}/include
configure.args-append --with-flavour=osx
platform macosx {
variant no_x11 requires quartz {
}

variant quartz {
depends_lib-delete port:mesa \
port:gdk-pixbuf2 \
port:xorg-libXdamage \
port:xorg-libXcomposite

configure.args-delete --with-flavour=glx \
--with-imagebackend=gdk-pixbuf \
--with-x \
--x-includes=${prefix}/include \
--x-libraries=${prefix}/lib

configure.args-append --with-flavour=osx \
--with-imagebackend=quartz \
--without-x
}
}

livecheck.type regex

0 comments on commit c67bd48

Please sign in to comment.
You can’t perform that action at this time.