<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ab363d422a8bd2eeba34459a791349af57f1681b">https://github.com/macports/macports-ports/commit/ab363d422a8bd2eeba34459a791349af57f1681b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ab363d422a8bd2eeba34459a791349af57f1681b
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Wed Dec 30 12:03:19 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> codec2: update to commit bfe7ca10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> patch src/CMakeLists to copy other libraries not included. I am
</span><span style='display:block; white-space:pre;color:#404040;'> discussing with upstream developers about this problem since they are
</span><span style='display:block; white-space:pre;color:#404040;'> related to external projects.
</span>---
audio/codec2/Portfile | 15 ++++++++-------
audio/codec2/files/patch-src_cmakefile.diff | 15 +++++++++++++++
2 files changed, 23 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/codec2/Portfile b/audio/codec2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 67fbd77c253..cfbf9168771 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/codec2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/codec2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,21 +22,22 @@ long_description Codec 2 is an open source speech codec designed for \
</span> designed for digital voice over HF radio.
homepage http://www.rowetel.com/codec2.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup drowe67 codec2 0.9.2 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 c7858aa8e633dc8451514db6461194c6fef26319 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 60fd5b7929f74111e6ef8d61cfe207b76fee86c3f6ed153a2d3e64209016d489 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 12244703
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup drowe67 codec2 bfe7ca10a495317b460afd27621e68d4df77ad6e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20201227-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3cb95bd6c4407c79be9c8467ee61212793a7d0b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 753d5a8d0dcd1a8970df4a7f80da6f80464cdd610c95f4fabad1e07fc3c65e6b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 12779467
</span> revision 0
epoch 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src_cmakefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append \
port:libsamplerate \
port:speex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_BUILD_TYPE=Release
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant lpcnet description {Enable lpcnet support (FreeDV 2020 codec)} {
depends_lib-append \
port:lpcnetfreedv
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/codec2/files/patch-src_cmakefile.diff b/audio/codec2/files/patch-src_cmakefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..aebaf075ffe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/codec2/files/patch-src_cmakefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/CMakeLists.txt src/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b635f04d..fe581e19 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -222,6 +222,10 @@ set(CODEC2_PUBLIC_HEADERS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ modem_stats.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ freedv_api.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CODEC2_VERSION_PATH}/version.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # this is not so good. I am discussing with upstream devs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ kiss_fft.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ varicode.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ comp_prim.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span></pre><pre style='margin:0'>
</pre>