[70850] trunk/dports/gnome/gst-plugins-base/Portfile

devans at macports.org devans at macports.org
Mon Aug 23 03:33:32 PDT 2010


Revision: 70850
          http://trac.macports.org/changeset/70850
Author:   devans at macports.org
Date:     2010-08-23 03:33:29 -0700 (Mon, 23 Aug 2010)
Log Message:
-----------
gst-plugins-base: to prevent opportunistic building of examples when gtk2 and/or
qt4 are installed, disable examples explicitly and add a +examples variant to
enable them with gtk2 and qt4 as required dependencies.  See #26148.

Modified Paths:
--------------
    trunk/dports/gnome/gst-plugins-base/Portfile

Modified: trunk/dports/gnome/gst-plugins-base/Portfile
===================================================================
--- trunk/dports/gnome/gst-plugins-base/Portfile	2010-08-23 09:57:43 UTC (rev 70849)
+++ trunk/dports/gnome/gst-plugins-base/Portfile	2010-08-23 10:33:29 UTC (rev 70850)
@@ -5,7 +5,7 @@
 
 name                gst-plugins-base
 version             0.10.30
-revision            1
+revision            2
 description         This is gst-plugins, a set of plug-ins for GStreamer.
 long_description    ${description}
 maintainers         rmsfisher openmaintainer
@@ -29,6 +29,7 @@
 
 configure.args \
     --enable-experimental \
+    --disable-examples \
     --disable-libvisual\
     --disable-gst_v4l \
     --disable-alsa \
@@ -39,6 +40,11 @@
     configure.args-append --without-x --disable-x --disable-xvideo --disable-xshm
 }
 
+variant examples description {Build example programs} {
+    depends_lib-append port:gtk2 port:qt4mac
+    configure.args-delete --disable-examples
+}
+
 # users of qt4-x11, which depends on gst-plugins-base but has no use for its
 # deeper gnome-related dependencies may wish to use this variant
 variant no_gnome_vfs description {Remove library dependency on gnome-vfs} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100823/c2bbe618/attachment.html>


More information about the macports-changes mailing list