<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7456389e07114f340731bc45374db63e4804dab6">https://github.com/macports/macports-ports/commit/7456389e07114f340731bc45374db63e4804dab6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7456389e07114f340731bc45374db63e4804dab6
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Dec 16 12:11:03 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> gstreamer1-gst-plugins-bad: disable chromaprint plugin if cxx_stdlib is libstdc++
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> chromaprint 1.4+ build requires libc++.
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/53072
</span>---
gnome/gstreamer1-gst-plugins-bad/Portfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gstreamer1-gst-plugins-bad/Portfile b/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ac55698..f95f82a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,6 @@ checksums rmd160 b99996a10f42b50978b8cc1701876a558ce59584 \
</span>
depends_build port:pkgconfig
depends_lib port:gstreamer1-gst-plugins-base \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:chromaprint \
</span> port:curl \
port:faad2 \
port:fluidsynth \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -115,7 +114,7 @@ configure.args --disable-silent-rules \
</span> # plugin applemedia (Apple video) now only builds on darwin 14 and later due to use of
# constant AVQueuedSampleBufferRenderingStatusFailed introduced in OSX 10.10
# plugin applemedia also fails on Sierra (darwin 16) due to missing QTKit
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# chromaprint 1.4+ requires libc++ (see #53072)
</span>
platform darwin {
if {${os.major} < 10} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,6 +127,11 @@ platform darwin {
</span> if {${os.major} < 14 || ${os.major} > 15} {
configure.args-append --disable-apple_media
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.cxx_stdlib} eq "libstdc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-chromaprint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:chromaprint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
#
</pre><pre style='margin:0'>
</pre>