[101631] trunk/dports/graphics/clutter-gst

devans at macports.org devans at macports.org
Tue Jan 15 13:16:15 PST 2013


Revision: 101631
          https://trac.macports.org/changeset/101631
Author:   devans at macports.org
Date:     2013-01-15 13:16:15 -0800 (Tue, 15 Jan 2013)
Log Message:
-----------
clutter-gst: update to version 1.6.0 using upstream patches.

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

Added Paths:
-----------
    trunk/dports/graphics/clutter-gst/files/
    trunk/dports/graphics/clutter-gst/files/patch-clutter-gst-clutter-gst-video-sink.c.diff

Modified: trunk/dports/graphics/clutter-gst/Portfile
===================================================================
--- trunk/dports/graphics/clutter-gst/Portfile	2013-01-15 21:03:45 UTC (rev 101630)
+++ trunk/dports/graphics/clutter-gst/Portfile	2013-01-15 21:16:15 UTC (rev 101631)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            clutter-gst
-version         1.3.2
-revision        1
+version         1.6.0
 set branch      [string range $version 0 [expr [string last "." $version] - 1]]
 categories      graphics
 description     Clutter GStreamer integration library.
@@ -15,12 +14,14 @@
 maintainers     nodamage.com:nodamage openmaintainer
 platforms       darwin
 homepage        http://www.clutter-project.org/
-master_sites    http://www.clutter-project.org/sources/${name}/${branch}/
+master_sites    gnome:sources/${name}/${branch}
+use_xz          yes
 
-checksums       md5     8baea48a2d9811ee5de9e6d131c301fa \
-                sha1    5277900c9f5965769ee39bb4371a26093c6c0c63 \
-                rmd160  e89e25247c557214023a61e5ffe0ef6095c5826c
+checksums       sha256  abc879cdd562f1640a825131405f4327a427bfe65b805ebc25d0c78909c8c622 \
+                rmd160  1b34af44136ec413af2c55326b1ff8728516e929
 
+patchfiles      patch-clutter-gst-clutter-gst-video-sink.c.diff
+
 depends_build \
     port:pkgconfig
 
@@ -30,6 +31,4 @@
 
 configure.args  --enable-introspection=no
 
-livecheck.type  regex
-livecheck.url   http://www.clutter-project.org/sources/${name}/${branch}/
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/

Added: trunk/dports/graphics/clutter-gst/files/patch-clutter-gst-clutter-gst-video-sink.c.diff
===================================================================
--- trunk/dports/graphics/clutter-gst/files/patch-clutter-gst-clutter-gst-video-sink.c.diff	                        (rev 0)
+++ trunk/dports/graphics/clutter-gst/files/patch-clutter-gst-clutter-gst-video-sink.c.diff	2013-01-15 21:16:15 UTC (rev 101631)
@@ -0,0 +1,31 @@
+--- clutter-gst/clutter-gst-video-sink.c.orig	2012-04-27 04:11:08.000000000 -0700
++++ clutter-gst/clutter-gst-video-sink.c	2013-01-15 04:21:55.000000000 -0800
+@@ -1096,14 +1096,17 @@
+ 
+   if (G_UNLIKELY (priv->converter == NULL)) {
+     CoglHandle tex;
+-    GLuint gl_texture;
+-    GLenum gl_target;
++    unsigned int gl_texture;
++    unsigned int gl_target;
+     GValue value = {0};
+ 
+     tex = clutter_texture_get_cogl_texture (priv->texture);
+     cogl_texture_get_gl_texture (tex, &gl_texture, &gl_target);
++    /* Removing as GL header files are no longer exposed and check is unnecessary */
++/*
+     g_return_if_fail (gl_target == GL_TEXTURE_2D);
+ 
++*/
+     g_value_init (&value, G_TYPE_UINT);
+     g_value_set_uint (&value, gl_texture);
+ 
+@@ -1133,7 +1136,7 @@
+ clutter_gst_build_renderers_list (void)
+ {
+   GSList             *list = NULL;
+-  GLint               nb_texture_units = 0;
++  gint                nb_texture_units = 0;
+   gint                features = 0, i;
+   /* The order of the list of renderers is important. They will be prepended
+    * to a GSList and we'll iterate over that list to choose the first matching
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130115/57829731/attachment.html>


More information about the macports-changes mailing list