[137798] trunk/dports/aqua/qt5-mac/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Fri Jun 19 23:17:05 PDT 2015


Revision: 137798
          https://trac.macports.org/changeset/137798
Author:   mcalhoun at macports.org
Date:     2015-06-19 23:17:05 -0700 (Fri, 19 Jun 2015)
Log Message:
-----------
qt5-mac: pulseaudio pulls in significant dependencies and is probably not widely needed (see #48088 and #48024)

Modified Paths:
--------------
    trunk/dports/aqua/qt5-mac/Portfile

Modified: trunk/dports/aqua/qt5-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt5-mac/Portfile	2015-06-20 05:34:19 UTC (rev 137797)
+++ trunk/dports/aqua/qt5-mac/Portfile	2015-06-20 06:17:05 UTC (rev 137798)
@@ -5,6 +5,7 @@
 
 name                qt5-mac
 version             5.4.2
+revision            1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 
 categories          aqua
@@ -209,7 +210,7 @@
         -no-xinput2         \
         -no-xcb-xlib        \
         -glib               \
-        -pulseaudio         \
+        -no-pulseaudio      \
         -no-alsa            \
         -no-gtkstyle
 
@@ -299,8 +300,7 @@
         port:icu                             \
         port:pcre                            \
         port:libiconv                        \
-        port:harfbuzz                        \
-        port:pulseaudio
+        port:harfbuzz
 
     # see https://bugreports.qt.io/browse/QTBUG-35514
     build.target
@@ -390,6 +390,11 @@
     variant debug description {Build both release and debug library} {
         configure.args-replace -release -debug-and-release
     }
+
+    variant pulseaudio description {Compile PulseAudio support} {
+        depends_lib-append port:pulseaudio
+        configure.args-replace -no-pulseaudio -pulseaudio
+    }
 }
 
 subport ${name}-docs {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150619/652c2eb1/attachment.html>


More information about the macports-changes mailing list