<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6021cd47e0c8438b404e0a4629d9a9e6d89f9aea">https://github.com/macports/macports-ports/commit/6021cd47e0c8438b404e0a4629d9a9e6d89f9aea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6021cd47e0c8438b404e0a4629d9a9e6d89f9aea
</span>Author: Davide Gerhard <rainbow@irh.it>
AuthorDate: Wed Apr 10 21:10:44 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> freedv-gui: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> GUI Application for FreeDV – an open source digital voice protocol
</span><span style='display:block; white-space:pre;color:#404040;'> that integrates the modems, codecs, and FEC
</span>---
science/freedv-gui/Portfile | 53 ++++++++++++++++++++++
.../freedv-gui/files/patch-src_cmakelists.txt.diff | 13 ++++++
2 files changed, 66 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/freedv-gui/Portfile b/science/freedv-gui/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..121bd92
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/freedv-gui/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,53 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup wxWidgets 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science comms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@ra1nb0w irh.it:rainbow} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GUI Application for FreeDV – an open source digital \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ voice protocol that integrates the modems, codecs, and FEC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup drowe67 freedv-gui 9b66784d31102d7d63cc5f67208e24fff95beb66
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 222b7b15f4fe8b7c427506a48a20e82fe1c17be4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e8da1d5843cebd9b4c9e53a604eec7c26ce00d2f70c5ebb049bfb893199003af \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 618399
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+wxWidgets.use wxWidgets-3.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${wxWidgets.port} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:portaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hamlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsndfile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsamplerate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libao \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:codec2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:speexDSP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_STATIC_CODEC2=FALSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWXCONFIG=${wxWidgets.wxconfig} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWXRC=${wxWidgets.wxrc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid dmg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-src_cmakelists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant bundle description {Enable the optional macOS bundle of FreeDV} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cmake.build_dir}/src/FreeDV.app ${destroot}${applications_dir}
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants-append +bundle
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/freedv-gui/files/patch-src_cmakelists.txt.diff b/science/freedv-gui/files/patch-src_cmakelists.txt.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d96eb09
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/freedv-gui/files/patch-src_cmakelists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/CMakeLists.txt.old 2019-04-10 21:29:07.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/CMakeLists.txt 2019-04-10 21:29:37.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -70,10 +70,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND cp ARGS ${CMAKE_CURRENT_SOURCE_DIR}/freedv.icns FreeDV.app/Contents/Resources
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND echo ARGS -n "APPL????" > FreeDV.app/Contents/PkgInfo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND cp ARGS freedv FreeDV.app/Contents/MacOS/FreeDV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND dylibbundler ARGS -od -b -x FreeDV.app/Contents/MacOS/FreeDV -d FreeDV.app/Contents/libs -p @executable_path/../libs/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND mkdir dist_tmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND cp -r FreeDV.app dist_tmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND hdiutil create -srcfolder dist_tmp/ -volname FreeDV -format UDZO ./FreeDV.dmg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND rm -rf dist_tmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif(APPLE)
</span></pre><pre style='margin:0'>
</pre>