Ignore:
Timestamp:
Apr 13, 2011, 6:11:43 PM (9 years ago)
Author:
devans@…
Message:

clutter: address some issues from #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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/clutter/Portfile

    r77687 r77796  
    99categories          graphics
    1010maintainers         devans openmaintainer
    11 platforms           darwin
     11platforms           darwin macosx
    1212description         A generic high-level canvas library.
    1313long_description    Clutter is an open source software library for \
     
    2424depends_build       port:pkgconfig
    2525
    26 depends_lib         port:gtk2 \
     26depends_lib         port:atk \
     27                    port:cairo \
     28                    port:pango \
     29                    port:gdk-pixbuf2 \
    2730                    port:mesa \
     31                    port:xorg-libXdamage \
     32                    port:xorg-libXcomposite \
    2833                    port:json-glib
    2934
    3035configure.args      --with-flavour=glx \
    3136                    --with-imagebackend=gdk-pixbuf \
     37                    --with-x \
    3238                    --x-includes=${prefix}/include \
    33                     --x-libraries=${prefix}/include \
     39                    --x-libraries=${prefix}/lib \
    3440                    --enable-introspection=no \
    3541                    --disable-gtk-doc
    3642
    37 variant no_x11 {
    38     depends_lib-delete   port:mesa
    39     configure.args-delete --with-flavour=glx \
    40                          --with-imagebackend=gdk-pixbuf \
    41                          --x-includes=${prefix}/include \
    42                          --x-libraries=${prefix}/include
    43     configure.args-append --with-flavour=osx
     43platform macosx {
     44    variant no_x11 requires quartz {
     45    }
     46
     47    variant quartz {
     48        depends_lib-delete    port:mesa \
     49                              port:gdk-pixbuf2 \
     50                              port:xorg-libXdamage \
     51                              port:xorg-libXcomposite
     52
     53        configure.args-delete --with-flavour=glx \
     54                              --with-imagebackend=gdk-pixbuf \
     55                              --with-x \
     56                              --x-includes=${prefix}/include \
     57                              --x-libraries=${prefix}/lib
     58
     59        configure.args-append --with-flavour=osx \
     60                              --with-imagebackend=quartz \
     61                              --without-x
     62    }
    4463}
    4564
Note: See TracChangeset for help on using the changeset viewer.