<pre style='margin:0'>
Mihai Moldovan (Ionic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/abad0f887415dd1457024587a994d89c23417c6d">https://github.com/macports/macports-ports/commit/abad0f887415dd1457024587a994d89c23417c6d</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 abad0f8 multimedia/mpv: revbump after upgrade. Fix notes. Fix conffile.
</span>abad0f8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit abad0f887415dd1457024587a994d89c23417c6d
</span>Author: Mihai Moldovan <ionic@ionic.de>
AuthorDate: Sun Mar 5 12:16:52 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> multimedia/mpv: revbump after upgrade. Fix notes. Fix conffile.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/53718
</span>---
multimedia/mpv/Portfile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
<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 c611a72..d7b73f5 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;'>@@ -6,7 +6,7 @@ PortGroup waf 1.0
</span>
# Please revbump mpv whenever ffmpeg{,-devel} is updated!
github.setup mpv-player mpv 0.22.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories multimedia
license GPL-2+
maintainers ionic
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -167,8 +167,14 @@ platform darwin {
</span>
You are strongly encouraged to copy this file to either
* ${prefix}/etc/${name}/${name}.conf (globally for all users of the system) or
<span style='display:block; white-space:pre;background:#ffe0e0;'>- * ~/.${name}/config (only for your current user)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * ~/.config/${name}/config (only for your current user)
</span> and adjust it to your needs.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ If you previously had your configuration file in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * ~/.${name}/config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ please migrate it to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * ~/.config/${name}/config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ which is the location preferred by upstream.
</span> }]
# VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -307,8 +313,12 @@ post-extract {
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Since we don't have conffiles handling, install mpv.conf as mpv.conf.example
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # to not overwrite this file on each (re-)build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${worksrcpath}/etc/mpv.conf ${worksrcpath}/etc/mpv.conf.example
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> xinstall -d -m 0755 ${destroot}${prefix}/etc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach etcfile {encoding-profiles.conf mpv.conf input.conf} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach etcfile {encoding-profiles.conf mpv.conf.example input.conf} {
</span> xinstall -m 0644 ${worksrcpath}/etc/${etcfile} \
${destroot}${prefix}/etc/${name}/${etcfile}
}
</pre><pre style='margin:0'>
</pre>