[84968] trunk/dports/comms/telepathy-glib

devans at macports.org devans at macports.org
Wed Oct 5 17:03:35 PDT 2011


Revision: 84968
          http://trac.macports.org/changeset/84968
Author:   devans at macports.org
Date:     2011-10-05 17:03:35 -0700 (Wed, 05 Oct 2011)
Log Message:
-----------
telepathy-glib: update to version 0.14.10, make building of experimental Vala bindings optional via variant, add Python variants.

Modified Paths:
--------------
    trunk/dports/comms/telepathy-glib/Portfile
    trunk/dports/comms/telepathy-glib/files/patch-configure.diff

Modified: trunk/dports/comms/telepathy-glib/Portfile
===================================================================
--- trunk/dports/comms/telepathy-glib/Portfile	2011-10-05 23:56:56 UTC (rev 84967)
+++ trunk/dports/comms/telepathy-glib/Portfile	2011-10-06 00:03:35 UTC (rev 84968)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name            telepathy-glib
-version         0.14.9
+version         0.14.10
 license         LGPL-2.1
 description     The ${name} component of Telepathy - a Flexible Communications Framework.
 long_description \
@@ -19,33 +19,46 @@
 homepage        http://telepathy.freedesktop.org/wiki
 master_sites    http://telepathy.freedesktop.org/releases/${name}/
 
-checksums       sha1    ab54ff778395346383895b8403c773f5702c8919 \
-                rmd160  8db36feb495fb9aac9981caeee9b69a94beb63b0
+checksums       sha1    9cf971bbae947807472c02e09c3b2cfde033cc2b \
+                rmd160  a765561504b65209a7d423aedf106f3052609696
 
 depends_build   port:pkgconfig \
                 port:gnome-doc-utils \
-                port:gtk-doc \
-                port:vala \
-                port:python26
+                port:gtk-doc
 
-depends_lib     port:dbus-glib \
-                port:gobject-introspection
+depends_lib     port:dbus-glib
 
 patchfiles      patch-configure.diff
 
-configure.python ${prefix}/bin/python2.6
+configure.args  --enable-introspection=no
 
-configure.args  --enable-vala-bindings \
-                --enable-introspection=yes
+variant vala description {Enable GObject introspectionm and Vala bindings} {
+    depends_build-append    port:vala
+    depends_lib-append      port:gobject-introspection
+    configure.args-delete   --enable-introspection=no
+    configure.args-append   --enable-introspection=yes \
+                            --enable-vala-bindings
+}
 
-platform darwin 8 {
-    depends_lib-delete    port:gobject-introspection \
-                          port:vala
-    configure.args-delete --enable-vala-bindings
-    configure.args-delete --enable-introspection=yes
-    configure.args-append --enable-introspection=no
+variant python25 conflicts python26 python27 description {Build using Python 2.5} {
+    configure.python          ${prefix}/bin/python2.5
+    depends_build-append      port:python25
 }
 
+variant python26 conflicts python25 python27 description {Build using Python 2.6} {
+    configure.python          ${prefix}/bin/python2.6
+    depends_build-append      port:python26
+}
+
+variant python27 conflicts python25 python26 description {Build using Python 2.7} {
+    configure.python          ${prefix}/bin/python2.7
+    depends_build-append      port:python27
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+    default_variants +python27
+}
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}

Modified: trunk/dports/comms/telepathy-glib/files/patch-configure.diff
===================================================================
--- trunk/dports/comms/telepathy-glib/files/patch-configure.diff	2011-10-05 23:56:56 UTC (rev 84967)
+++ trunk/dports/comms/telepathy-glib/files/patch-configure.diff	2011-10-06 00:03:35 UTC (rev 84968)
@@ -1,6 +1,6 @@
---- configure.orig	2011-05-30 02:03:34.000000000 -0700
-+++ configure	2011-05-30 06:57:05.000000000 -0700
-@@ -12671,9 +12671,9 @@
+--- configure.orig	2011-10-04 07:22:51.000000000 -0700
++++ configure	2011-10-05 16:15:17.000000000 -0700
+@@ -13572,9 +13572,9 @@
  
  
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111005/fb702e9c/attachment.html>


More information about the macports-changes mailing list