<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2640e71241b11750ec2b4e00f5c624783bf4b5cb">https://github.com/macports/macports-ports/commit/2640e71241b11750ec2b4e00f5c624783bf4b5cb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2640e71 mpv: fix build on < 10.6
</span>2640e71 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2640e71241b11750ec2b4e00f5c624783bf4b5cb
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Jan 27 08:47:14 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> mpv: fix build on < 10.6
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> coreaudio backend does not presently build
</span><span style='display:block; white-space:pre;color:#404040;'> but pulseaudio backend does, and works well
</span>---
multimedia/mpv/Portfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mpv/Portfile b/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 55ab0d8..fc13f93 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mpv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -252,6 +252,19 @@ platform darwin {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # coreaudio does not build on < 10.6 so use pulseaudio instead (tested and works).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --enable-coreaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-coreaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ On systems older than SnowLeopard (10.6), coreaudio output support is not available.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The pulseaudio backend should have been enabled automatically.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-extract {
xinstall -m 0644 -W "${filespath}" config-maintainer "${worksrcpath}/TOOLS/"
}
</pre><pre style='margin:0'>
</pre>