[116740] trunk/dports/graphics/clutter-gst/Portfile

Aljaž 'g5pw' Srebrnič g5pw at macports.org
Wed Feb 5 12:51:55 PST 2014


 

On 05 febbraio 2014 at 21:43:13, David Evans (devans at macports.org) wrote:

On 2/5/14 12:00 PM, g5pw at macports.org wrote:
Revision
116740
Author
g5pw at macports.org
Date
2014-02-05 12:00:55 -0800 (Wed, 05 Feb 2014)
Log Message

graphics/clutter-gst:
  update to 2.99
  use active_variants PortGroup to ensure cogl is built with +gstreamer
  this should fix #39844
Modified Paths

trunk/dports/graphics/clutter-gst/Portfile
Diff

Modified: trunk/dports/graphics/clutter-gst/Portfile (116739 => 116740)


--- trunk/dports/graphics/clutter-gst/Portfile    2014-02-05 19:58:43 UTC (rev 116739)
+++ trunk/dports/graphics/clutter-gst/Portfile  2014-02-05 20:00:55 UTC (rev 116740)
@@ -2,9 +2,10 @@
 # $Id$
  
 PortSystem      1.0
+PortGroup       active_variants 1.1
  
 name            clutter-gst
-version         2.0.10
+version         2.99.0
 license         LGPL-2.1+
 set branch      [string range $version 0 [expr [string last "." $version] - 1]]
 categories      graphics
@@ -19,8 +20,8 @@
  
 use_xz          yes
  
-checksums       rmd160  84b2c5a80cf73a7932ab81dad857b338953247f7 \
-                sha256  f00cf492a6d4f1036c70d8a0ebd2f0f47586ea9a9b49b1ffda79c9dc7eadca00
+checksums       rmd160  c276938024d08ffdf5c8b4f189a669cc8bbddf34 \
+                sha256  b81d1fdf5f523779653f1cadc5c3c63e0b934280429121ae939f326c3ed88b3e
  
 # Note that gstreamer1-gst-plugins-bad is in depends_build to ensure it is updated
 # before this port.  Older versions produce libgstbasevideo-1.0.0.dylib which cause
@@ -38,8 +39,13 @@
     port:gstreamer1 \
     port:gstreamer1-gst-plugins-base
  
+require_active_variants cogl gstreamer
+
 configure.args  --enable-debug=yes \
                 --enable-introspection=yes \
                 --disable-silent-rules
  
+build.args-append \
+                GL_LDFLAGS=-lcogl-gst
+
 livecheck.type  gnome


This version upgrade is premature and needs to be reverted.  Current stable version of clutter-gst-2.0 is 2.0.10, version 2.99 is a pre-release version of the
forthcoming clutter-gst-3.0 which is incompatible (and installs in parallel) with clutter-gst-2.0.  This move breaks clutter-gst dependents empathy and totem is
both the current version and the 3.11 unstable ones.
Aha, I see. Sorry for the confusion.



In addition adding the +gstreamer variant to cogl as a non-default variant guarantees that clutter-gst's default build will fail.  I would just add the additional feature to cogl and forget the variant checking.
Yeah, that’s a good idea, too.



Dave


-- 
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140205/417df989/attachment-0001.html>


More information about the macports-dev mailing list