<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/641ba012faa04c853272da430b21c2731ce2c0bd">https://github.com/macports/macports-ports/commit/641ba012faa04c853272da430b21c2731ce2c0bd</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 641ba01 mpv: update to 0.29.1
</span>641ba01 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 641ba012faa04c853272da430b21c2731ce2c0bd
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Wed Oct 10 15:51:20 2018 +0800
<span style='display:block; white-space:pre;color:#404040;'> mpv: update to 0.29.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes two issues on Mojave:
</span><span style='display:block; white-space:pre;color:#404040;'> * Black screens when playing videos
</span><span style='display:block; white-space:pre;color:#404040;'> * Crashes if Accessibility access not allowed in System Preferences >
</span><span style='display:block; white-space:pre;color:#404040;'> Security & Privacy > Privacy
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I dropped --enable-cuda-hwaccel as this option requires ffnvcodec
</span><span style='display:block; white-space:pre;color:#404040;'> headers since version 0.29.0 [1], and those headers are not fully
</span><span style='display:block; white-space:pre;color:#404040;'> compatibile with macOS yet [2].
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes https://trac.macports.org/ticket/57246
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [1] https://github.com/mpv-player/mpv/commit/07915b12273a36bc7f104a5f3fc949a407d243dc
</span><span style='display:block; white-space:pre;color:#404040;'> [2] https://github.com/FFmpeg/nv-codec-headers/blob/n8.2.15.1/include/ffnvcodec/dynlink_nvcuvid.h#L229
</span>---
multimedia/mpv/Portfile | 35 +++++++++++++++--------------------
1 file changed, 15 insertions(+), 20 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 57541d3..55939b2 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;'>@@ -5,8 +5,7 @@ PortGroup github 1.0
</span> PortGroup waf 1.0
# Please revbump mpv whenever ffmpeg{,-devel} is updated!
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mpv-player mpv 0.28.2 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mpv-player mpv 0.29.1 v
</span> categories multimedia
license GPL-2+
maintainers {ionic @Ionic}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +20,7 @@ long_description ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, \
</span> and even H.264 movies.
homepage http://www.mpv.io/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set waf_version 1.9.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set waf_version 2.0.9
</span> set waf_distfile waf-${waf_version}
set mpv_distfile ${distfiles}
master_sites-append https://waf.io/:waf
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,13 +29,13 @@ distfiles-append ${waf_distfile}:waf
</span> extract.only-delete ${waf_distfile}
checksums ${mpv_distfile} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 f74e0471685be85fafbb6548362997f146ff11a3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9cac0613be59f766f5635da5380b0782d0141c9471c55815e8a1ddc9f2cb0b24 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2982853 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 10edd02cf12c4668c57317caf3042df30ae1128c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c7076df8c46f2696121d0b96cc5edfc472cbccc3b6a70d9b5c00a72b6a41c820 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3059829 \
</span> ${waf_distfile} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 d1a5d0e0f42a0101f5832abb33cd71018505405f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 167dc42bab6d5bd823b798af195420319cb5c9b571e00db7d83df2a0fe1f4dbf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 100685
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 bbb01fa7c1d552c01e5a6531ed27aef710d668e7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2a8e0816f023995e557f79ea8940d322bec18f286917c8f9a6fa2dc3875dfa48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 103104
</span>
installs_libs no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -130,6 +129,13 @@ configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
</span>
build.args-append -v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Clear CPATH and LIBRARY_PATH because a ncurses include file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# conflicts with the one in MacPorts. It doesn't matter much anyway
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# because the swift module in mpv doesn't have any dependencies to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# link against.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.library_path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform macosx {
if {${os.major} > 10} {
# Force recent enough Xcode.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -190,17 +196,6 @@ platform darwin {
</span> configure.args-append --enable-videotoolbox-gl
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # It looks like mpv expects a CUDA API version 7050 or higher, which might mean >= 7.0.50.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If that's the case, only 10.9+ have support for that.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Current ffmpeg expects a CUDA version of 8.0.14.2 or higher, which is only available
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # for 10.11+.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Also, it might be necessary to have the CUDA SDK installed before installing ffmpeg.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Let's hope for the best, for now.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} > 14} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-cuda-hwaccel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-cuda-hwaccel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${os.major} > 11} {
notes-append {
This config file already defines the necessary video output settings to make\
</pre><pre style='margin:0'>
</pre>