<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/83168912a3779d620af46ac1c87efe39398d122c">https://github.com/macports/macports-ports/commit/83168912a3779d620af46ac1c87efe39398d122c</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 83168912a37 mpv: avoid Game Mode auto activation on macOS 14
</span>83168912a37 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 83168912a3779d620af46ac1c87efe39398d122c
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Fri Aug 16 19:28:00 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> mpv: avoid Game Mode auto activation on macOS 14
</span>---
multimedia/mpv/Portfile | 6 ++++--
1 file changed, 4 insertions(+), 2 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 ade0ce1f2d4..68a90d7dc2a 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;'>@@ -10,7 +10,7 @@ PortGroup active_variants 1.1
</span> # Please revbump mpv whenever ffmpeg6 is updated!
github.setup mpv-player mpv 0.38.0 v
conflicts mpv-legacy
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories multimedia
license GPL-2+
maintainers {ionic @Ionic} {i0ntempest @i0ntempest} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -497,7 +497,9 @@ variant libmpv description {Enable the libmpv library} {
</span>
variant bundle description {Enable the optional macOS bundle of mpv} {
post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W "${worksrcpath}" "${prefix}/bin/python${python_branch} TOOLS/osxbundle.py -s ${build.dir}/mpv"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Avoid Game Mode auto activation on macOS 14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/TOOLS/osxbundle/mpv.app/Contents/ "/usr/libexec/PlistBuddy -c \"Delete :LSApplicationCategoryType\" Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${prefix}/bin/python${python_branch} TOOLS/osxbundle.py -s ${build.dir}/mpv"
</span> }
post-destroot {
</pre><pre style='margin:0'>
</pre>