[101613] trunk/dports/graphics/clutter/Portfile

devans at macports.org devans at macports.org
Mon Jan 14 17:57:43 PST 2013


Revision: 101613
          https://trac.macports.org/changeset/101613
Author:   devans at macports.org
Date:     2013-01-14 17:57:43 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
clutter: update to version 1.12.2, update dependencies, configuration and variants. (#32249).

Modified Paths:
--------------
    trunk/dports/graphics/clutter/Portfile

Modified: trunk/dports/graphics/clutter/Portfile
===================================================================
--- trunk/dports/graphics/clutter/Portfile	2013-01-15 01:55:31 UTC (rev 101612)
+++ trunk/dports/graphics/clutter/Portfile	2013-01-15 01:57:43 UTC (rev 101613)
@@ -4,66 +4,60 @@
 PortSystem          1.0
 
 name                clutter
-version             1.6.20
-revision        1
+version             1.12.2
 license             LGPL-2.1
-set branch          [string range $version 0 [expr [string last "." $version] - 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, visually rich and animated graphical \
+                    creating fast, compelling, portable, and dynamic graphical \
                     user interfaces.
-homepage            http://www.clutter-project.org/
+homepage            http://blogs.gnome.org/clutter/
 master_sites        gnome:sources/${name}/${branch}/
 
 use_xz              yes
 
-checksums           sha256  c5508856e51343ef0f5cf5a8526e4372ac96d31b740d6b09d37e890c653b4273 \
-                    rmd160  b30704928847e4c80ad99b320f5c96e28c47084b
+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:gdk-pixbuf2 \
-                    port:mesa \
-                    port:xorg-libXdamage \
-                    port:xorg-libXcomposite \
-                    port:json-glib
+                    port:json-glib \
+                    port:cogl
 
-configure.args      --with-flavour=glx \
-                    --with-imagebackend=gdk-pixbuf \
-                    --with-x \
-                    --x-includes=${prefix}/include \
-                    --x-libraries=${prefix}/lib \
-                    --enable-introspection=no \
-                    --disable-gtk-doc
+variant x11 conflicts quartz {
+    depends_lib-append port:gdk-pixbuf2 \
+                       port:xorg-libXcomposite \
+                       port:xorg-libXdamage \
+                       port:xorg-libXext \
+                       port:xorg-libXfixes
 
-platform macosx {
-    variant no_x11 requires quartz {
-    }
+    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 {
-        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
-    }
+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
 }
 
-livecheck.type      regex
-livecheck.url       http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
-livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+default_variants +x11
+
+livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/de681cce/attachment.html>


More information about the macports-changes mailing list