<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0247937f981e31640b276d2121a62194fd5048c8">https://github.com/macports/macports-ports/commit/0247937f981e31640b276d2121a62194fd5048c8</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 0247937f981 libdca: patch for broken symlink libdts.a
</span>0247937f981 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0247937f981e31640b276d2121a62194fd5048c8
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri Apr 19 16:52:31 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> libdca: patch for broken symlink libdts.a
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Disable silent rules
</span><span style='display:block; white-space:pre;color:#404040;'> - Cleanup
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/pull/23491
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/69779
</span>---
audio/libdca/Portfile | 21 +++++++++++++++------
audio/libdca/files/patch-libdts.a-symlink-fix.diff | 21 +++++++++++++++++++++
2 files changed, 36 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libdca/Portfile b/audio/libdca/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5994f4888c3..3e56add05ea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libdca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libdca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,8 @@ PortSystem 1.0
</span>
name libdca
version 0.0.7
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories audio
license GPL-2+
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,19 +15,26 @@ description libdca is a free library for decoding DTS Coherent \
</span> long_description ${description}
homepage https://www.videolan.org/developers/libdca.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {Current release is <a.*>libdca-(.*).tar.bz2</a>}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> master_sites https://download.videolan.org/pub/videolan/libdca/${version}/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span>
checksums rmd160 24a7ae60b93efaedeee7e2e0aa318ca6afcaaf39 \
sha256 3a0b13815f582c661d2388ffcabc2f1ea82f471783c400f765f2ec6c81065f6a \
size 158232
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Upstream patch for broken symlink libdta.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Source: https://code.videolan.org/videolan/libdca/-/issues/3#note_56339
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-libdts.a-symlink-fix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # v. 0.0.7 tarball does not include pre-processed configure script.
use_autoreconf yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -std=gnu89
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -std=gnu89
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {Current release is <a.*>libdca-(.*).tar.bz2</a>}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libdca/files/patch-libdts.a-symlink-fix.diff b/audio/libdca/files/patch-libdts.a-symlink-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f4ab0183b31
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libdca/files/patch-libdts.a-symlink-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# From 862a78862877efa6a55a597c3b105306efb99f77 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# From: Sebastian Ramacher <sebastian@ramacher.at>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Date: Sun, 29 Mar 2020 13:19:46 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Subject: [PATCH] Revert "Link the installed libdts to the installed libdca"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This reverts commit a166c47ac3c330af12e5ca7d2e972308e21df86a.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Source: https://code.videolan.org/videolan/libdca/-/issues/3#note_56339
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#==================================================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libdca/Makefile.am.orig 2020-03-26 10:08:37.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libdca/Makefile.am 2024-04-19 16:49:00.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,7 +12,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkgconfig_DATA = libdca.pc libdts.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install-exec-hook:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(LN_S)f "$(DESTDIR)$(libdir)/libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(LN_S)f "libdca.a" "$(DESTDIR)$(libdir)/libdts.a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uninstall-hook:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unlink "$(DESTDIR)$(libdir)/libdts.a"
</span></pre><pre style='margin:0'>
</pre>