<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b4977318afe577da22373ec837624db1b0eedc9f">https://github.com/macports/macports-ports/commit/b4977318afe577da22373ec837624db1b0eedc9f</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 b4977318afe audio/espeak-ng(new), audio/pcaudiolib(new), audio/sonic(new)
</span>b4977318afe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b4977318afe577da22373ec837624db1b0eedc9f
</span>Author: Daniel Bair <bair.daniel@gmail.com>
AuthorDate: Tue Jun 30 15:29:05 2020 +0700
<span style='display:block; white-space:pre;color:#404040;'> audio/espeak-ng(new), audio/pcaudiolib(new), audio/sonic(new)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> espeak-ng: new port, version 1.50
</span><span style='display:block; white-space:pre;color:#404040;'> pcaudiolib: new port, version 1.1
</span><span style='display:block; white-space:pre;color:#404040;'> sonic: new port, version 0.2.0
</span>---
audio/espeak-ng/Portfile | 47 ++++++++++++
audio/espeak-ng/files/patch-espeak-ng-mac.diff | 40 ++++++++++
audio/pcaudiolib/Portfile | 31 ++++++++
audio/sonic/Portfile | 37 +++++++++
audio/sonic/files/patch-sonic-mac.diff | 100 +++++++++++++++++++++++++
5 files changed, 255 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/espeak-ng/Portfile b/audio/espeak-ng/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2f3247f7b94
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/espeak-ng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</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:ft=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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup espeak-ng espeak-ng 1.50
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description multi-lingual software speech synthesizer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description eSpeak NG is a compact open source software text-to-speech synthesizer for Linux, Windows, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Mac, Android and other operating systems. It supports more than 100 languages and accents. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It is based on the eSpeak engine created by Jonathan Duddington.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a39908a309e0ead84d1e8b922adcfa3df153b35d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5ce9f24ee662b5822a4acc45bed31425e70d7c50707b96b6c1603a335c7759fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13665536
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts espeak
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-espeak-ng-mac.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:pcaudiolib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sonic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:rb27-ronn-ng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rb27-kramdown \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</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;'>+configure.env RONN=${prefix}/bin/ronn-2.7 KRAMDOWN=${prefix}/bin/kramdown-2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --with-extdict-ru --with-extdict-zh --with-extdict-zhy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target src/espeak-ng src/speak-ng en
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.cmd ESPEAK_DATA_PATH=`pwd` DYLD_LIBRARY_PATH=src src/espeak-ng "Testing." -w test.wav
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/espeak-ng/files/patch-espeak-ng-mac.diff b/audio/espeak-ng/files/patch-espeak-ng-mac.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..87e0a815a60
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/espeak-ng/files/patch-espeak-ng-mac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am.orig 2019-11-29 23:50:54.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am 2020-07-01 09:42:15.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -79,10 +81,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .md.html: _layouts/webpage.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @echo " MD $@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- kramdown --template _layouts/webpage.html > $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(KRAMDOWN) --template _layouts/webpage.html > $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .ronn.html:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ronn --html $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(RONN) --html $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ##### vim:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -101,10 +103,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ##### documentation:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/espeak-ng.1: src/espeak-ng.1.ronn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ronn --roff $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(RONN) --roff $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/speak-ng.1: src/speak-ng.1.ronn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ronn --roff $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(RONN) --roff $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ docs_MARKDOWN != ls docs/*.md docs/*/*.md docs/*/*/*.md
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ docs_HTML = ${docs_MARKDOWN:.md=.html}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2019-11-29 23:50:54.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2020-07-03 16:12:15.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -257,6 +257,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_PROG(RONN, ronn, ronn, no)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CONDITIONAL(HAVE_RONN, [test ! x"$RONN" = xno])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_PROG(KRAMDOWN, kramdown, kramdown, no)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl ================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl Extended dictionary checks.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl ================================================================
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pcaudiolib/Portfile b/audio/pcaudiolib/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..943f4041a59
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pcaudiolib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</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:ft=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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup espeak-ng pcaudiolib 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Portable C Audio Library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ff0fd3c813d83458c937db771ec5e7ded79f9b59 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 34049
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</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;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/sonic/Portfile b/audio/sonic/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8a38064f7ac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/sonic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</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:ft=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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup espeak-ng sonic 0.2.0 release-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Simple library to speed up or slow down speech
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Sonic is a simple algorithm for speeding up or slowing down speech. However, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ it's optimized for speed ups of over 2X, unlike previous algorithms for changing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ speech rate. The Sonic library is a very simple ANSI C library that is designed \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to easily be integrated into streaming voice applications, like TTS back ends.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4fb75a94018d16f052828cbd6b292a93e2ca0f41 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c7827ce576838467590ffa1f935fbe1049e896dfed6c515cf569ad3779c24085 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5340269
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-sonic-mac.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 1998
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++98
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append USE_SPECTROGRAM=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args {*}${build.args}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/sonic/files/patch-sonic-mac.diff b/audio/sonic/files/patch-sonic-mac.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2736e012700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/sonic/files/patch-sonic-mac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,100 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2020-06-30 13:32:50.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2020-07-02 09:20:44.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5,22 +5,30 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # safe. We call malloc, and older Linux versions only linked in the thread-safe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # malloc if -pthread is specified.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SONAME=soname
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PREFIX=/usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++BINDIR=$(PREFIX)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIBDIR=$(PREFIX)/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INCDIR=$(PREFIX)/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SONAME=-soname,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SHARED_OPT=-shared
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIB_NAME=libsonic.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIB_TAG=.0.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UNAME := $(shell uname)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(UNAME), Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SONAME=install_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SONAME=-install_name,$(LIBDIR)/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SHARED_OPT=-dynamiclib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIB_NAME=libsonic.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIB_TAG=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#CFLAGS=-Wall -g -ansi -fPIC -pthread
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS=-Wall -O3 -ansi -fPIC -pthread
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIB_TAG=0.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CC=gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PREFIX=/usr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBDIR=$(PREFIX)/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-all: sonic libsonic.so.$(LIB_TAG) libsonic.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++all: sonic $(LIB_NAME)$(LIB_TAG) libsonic.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-sonic: wave.o main.o libsonic.so.$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(CFLAGS) -o sonic wave.o main.o libsonic.so.$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++sonic: wave.o main.o $(LIB_NAME)$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) $(CFLAGS) -o sonic wave.o main.o $(LIB_NAME)$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sonic.o: sonic.c sonic.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(CC) $(CFLAGS) -c sonic.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,30 +39,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main.o: main.c sonic.h wave.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(CC) $(CFLAGS) -c main.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-libsonic.so.$(LIB_TAG): sonic.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(CFLAGS) -shared -Wl,-$(SONAME),libsonic.so.0 sonic.o -o libsonic.so.$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -sf libsonic.so.$(LIB_TAG) libsonic.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -sf libsonic.so.$(LIB_TAG) libsonic.so.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++$(LIB_NAME)$(LIB_TAG): sonic.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) $(CFLAGS) $(SHARED_OPT) -Wl,$(SONAME)$(LIB_NAME) sonic.o -o $(LIB_NAME)$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ifneq ($(UNAME), Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -sf $(LIB_NAME)$(LIB_TAG) $(LIB_NAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -sf $(LIB_NAME)$(LIB_TAG) $(LIB_NAME).0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libsonic.a: sonic.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(AR) cqs libsonic.a sonic.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-install: sonic libsonic.so.$(LIB_TAG) sonic.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install sonic $(DESTDIR)$(PREFIX)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install sonic.h $(DESTDIR)$(PREFIX)/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install libsonic.so.$(LIB_TAG) $(DESTDIR)$(PREFIX)/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++install: sonic $(LIB_NAME)$(LIB_TAG) sonic.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INCDIR) $(DESTDIR)$(LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install sonic $(DESTDIR)$(BINDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install sonic.h $(DESTDIR)$(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install libsonic.a $(DESTDIR)$(LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -sf libsonic.so.$(LIB_TAG) $(DESTDIR)$(PREFIX)/lib/libsonic.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -sf libsonic.so.$(LIB_TAG) $(DESTDIR)$(PREFIX)/lib/libsonic.so.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install $(LIB_NAME)$(LIB_TAG) $(DESTDIR)$(LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ifneq ($(UNAME), Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -sf $(LIB_NAME)$(LIB_TAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -sf $(LIB_NAME)$(LIB_TAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-uninstall:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(DESTDIR)$(PREFIX)/bin/sonic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(DESTDIR)$(PREFIX)/include/sonic.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(DESTDIR)$(PREFIX)/lib/libsonic.so.$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(DESTDIR)$(PREFIX)/lib/libsonic.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(DESTDIR)$(PREFIX)/lib/libsonic.so.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++uninstall:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(BINDIR)/sonic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(INCDIR)/sonic.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f $(DESTDIR)$(LIBDIR)/libsonic.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(LIBDIR)/$(LIB_NAME)$(LIB_TAG)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(LIBDIR)/$(LIB_NAME).0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clean:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f *.o sonic libsonic.so* libsonic.a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f *.o sonic $(LIB_NAME)* libsonic.a test.wav
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++check:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ./sonic -s 2.0 ./samples/talking.wav ./test.wav
</span></pre><pre style='margin:0'>
</pre>