[147558] trunk/dports/gnome/gstreamer1-gst-plugins-bad

devans at macports.org devans at macports.org
Thu Apr 7 16:32:35 PDT 2016


Revision: 147558
          https://trac.macports.org/changeset/147558
Author:   devans at macports.org
Date:     2016-04-07 16:32:35 -0700 (Thu, 07 Apr 2016)
Log Message:
-----------
gstreamer1-gst-plugins-bad: add variants +gtk3 +qt, disabled by default to prevent opportunistic configuration with gtk3 qt5, increment revision (#51063).

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile

Property Changed:
----------------
    trunk/dports/gnome/gstreamer1-gst-plugins-bad/


Property changes on: trunk/dports/gnome/gstreamer1-gst-plugins-bad
___________________________________________________________________
Modified: svn:mergeinfo
   - /users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad:125799-147274
/users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad:137764-138024,138026-140596,146243-147067
   + /users/devans/GNOME-3/stable/dports/gnome/gstreamer1-gst-plugins-bad:125799-147557
/users/devans/GNOME-3/unstable/dports/gnome/gstreamer1-gst-plugins-bad:137764-138024,138026-140596,146243-147067

Modified: trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2016-04-07 23:28:57 UTC (rev 147557)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2016-04-07 23:32:35 UTC (rev 147558)
@@ -5,11 +5,13 @@
 
 # https://bugzilla.gnome.org/show_bug.cgi?id=636134
 PortGroup           muniversal 1.0
+PortGroup           active_variants 1.1
 PortGroup           gobject_introspection 1.0
 
 name                gstreamer1-gst-plugins-bad
 set my_name         gst-plugins-bad
 version             1.8.0
+revision            1
 description         A set of plug-ins for GStreamer that need more quality.
 long_description    GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared \
                     to the rest. They might be close to being good quality, but they're missing \
@@ -86,6 +88,7 @@
 # port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
 # port:Xvid plugin xvid not ported in this version
 # plugin opus is now contained in gstreamer1-gst-plugins-base, disable this version
+# plugins gtk, qt disable by default to avoid opportunistic configuration
 #
 # the following plugins build opportunisticly due to missing dependencies
 # explicitly disabled for now
@@ -96,11 +99,13 @@
                     --disable-dc1394 \
                     --disable-faac \
                     --disable-frei0r \
+                    --disable-gtk3 \
                     --disable-lv2 \
                     --disable-mpeg2enc \
                     --disable-mplex \
                     --disable-opencv \
                     --disable-opus \
+                    --disable-qt \
                     --disable-sdltest \
                     --enable-experimental \
                     --enable-static
@@ -142,6 +147,26 @@
     notes-append "Use of the +faac variant may affect licensing due to the restrictive license of port faac itself."
 }
 
+variant gtk3 description {Enable GTK3 X11/GL windowing elements} {
+    depends_lib-append      port:gtk3
+    configure.args-delete   --disable-gtk3
+}
+
+# gtk3 elements require gtk3 +x11
+
+if {[variant_isset gtk3]} {
+    require_active_variants gtk3 x11
+}
+
+variant qt description {Enable QT5 MAC windowing elements } {
+    PortGroup               qt5 1.0
+
+    depends_lib-append      port:qt5-qtdeclarative \
+                            port:qt5-qtmacextras
+
+    configure.args-replace  --disable-qt --enable-qt
+}
+
 if {[variant_isset universal]} {
     set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
     set merger_host(i386) i686-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160407/dbf2f7cb/attachment.html>


More information about the macports-changes mailing list