[120084] trunk/dports/net/libgweather

devans at macports.org devans at macports.org
Wed May 14 21:05:53 PDT 2014


Revision: 120084
          https://trac.macports.org/changeset/120084
Author:   devans at macports.org
Date:     2014-05-14 21:05:53 -0700 (Wed, 14 May 2014)
Log Message:
-----------
libgweather: update to version 3.12.2, add +glade variant to build glade catalog items.

Modified Paths:
--------------
    trunk/dports/net/libgweather/Portfile

Property Changed:
----------------
    trunk/dports/net/libgweather/


Property changes on: trunk/dports/net/libgweather
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/mld-qt-481/dports/net/libgweather:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/net/libgweather:108269-118645
/users/devans/GNOME-3/unstable/dports/net/libgweather:116416-118154
   + /branches/mld-qt-481/dports/net/libgweather:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/net/libgweather:108269-120079
/users/devans/GNOME-3/unstable/dports/net/libgweather:116416-118154

Modified: trunk/dports/net/libgweather/Portfile
===================================================================
--- trunk/dports/net/libgweather/Portfile	2014-05-15 04:05:22 UTC (rev 120083)
+++ trunk/dports/net/libgweather/Portfile	2014-05-15 04:05:53 UTC (rev 120084)
@@ -4,7 +4,7 @@
 PortSystem      1.0
 
 name            libgweather
-version         3.12.1
+version         3.12.2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     devans openmaintainer
 categories      net gnome
@@ -22,8 +22,8 @@
 
 use_xz          yes
 
-checksums       rmd160  5cba92891d94fb58461a8085ad202e66ca6c942f \
-                sha256  e8e3a6c5f3a6e4e128afecdc4a95e6228d3d8afdaabaf10483168621527cfba8
+checksums       rmd160  790bbcc82a89a09c03a473897a7222e864ae0c01 \
+                sha256  54ef096350d7774ab1b3f23ed768246301cdcedfaa762a2c46920bf87fcc1c37
 
 depends_build   port:pkgconfig \
                 port:intltool \
@@ -53,10 +53,25 @@
 
 configure.args  --enable-introspection=yes \
                 --enable-vala=yes \
+                --enable-glade-catalog=no \
                 --disable-schemas-compile \
                 --disable-silent-rules \
                 --disable-glibtest
 
+variant glade description {Enable building of glade catalog items} {
+    depends_lib-append  port:glade
+    configure.args-replace --enable-glade-catalog=no --enable-glade-catalog=yes
+}
+
+# glade expects catalog modules and libraries to have a .so suffix
+
+post-destroot {
+    if {[variant_isset glade]} {
+        set libdir ${prefix}/lib
+        ln -s ${libdir}/libgweather-3.dylib ${destroot}${libdir}/libgweather-3.so
+    }
+}
+
 post-activate {
     system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140514/8c1e47ac/attachment.html>


More information about the macports-changes mailing list