<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/624f3b12e045fcd22167e499e00c05bba6d73721">https://github.com/macports/macports-ports/commit/624f3b12e045fcd22167e499e00c05bba6d73721</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 624f3b12e04 QMPlay2: fix installation on new systems after switch to Ninja
</span>624f3b12e04 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 624f3b12e045fcd22167e499e00c05bba6d73721
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Jul 25 08:43:04 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> QMPlay2: fix installation on new systems after switch to Ninja
</span>---
multimedia/QMPlay2/Portfile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/QMPlay2/Portfile b/multimedia/QMPlay2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d25a5bebc6f..cb2bad21c16 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/QMPlay2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/QMPlay2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,7 +77,7 @@ if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span> 1001-Fix-Qt-paths.patch
} else {
github.setup zaps166 QMPlay2 24.06.16
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 b1851ab0fc52849471cc4f3a2d19a01d068fa864 \
sha256 7b06be4b95cb15064015934b24e76e583b85398136fc28b622dc1118d07c55b4 \
size 2042180
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,10 +117,10 @@ if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span> post-destroot {
system "install_name_tool -id ${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib \
${destroot}${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "install_name_tool -change ${prefix}/lib/libqmplay2.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change ${prefix}/lib/libqmplay2.dylib \
</span> ${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib \
${destroot}${applications_dir}/${name}.app/Contents/MacOS/QMPlay2"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span> foreach dylib [ exec find ${destroot}${applications_dir}/${name}.app/Contents/MacOS/modules -name "\*.dylib" ] {
regsub ":$" ${dylib} "" destroot_dylib_path
regsub ${destroot} ${destroot_dylib_path} "" dylib_path
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -129,11 +129,14 @@ if {${os.platform} eq "darwin" && ${os.major} < 15} {
</span> ${destroot_dylib_path}"
}
} else {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change @rpath/libqmplay2.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/${name}.app/Contents/MacOS/QMPlay2"
</span> foreach so [ exec find ${destroot}${applications_dir}/${name}.app/Contents/MacOS/modules -name "\*.so" ] {
regsub ":$" ${so} "" destroot_so_path
regsub ${destroot} ${destroot_so_path} "" so_path
system "install_name_tool -id ${so_path} ${destroot_so_path}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "install_name_tool -change ${prefix}/lib/libqmplay2.dylib ${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change @rpath/libqmplay2.dylib ${applications_dir}/${name}.app/Contents/MacOS/libqmplay2.dylib \
</span> ${destroot_so_path}"
}
}
</pre><pre style='margin:0'>
</pre>