$ git clone http://tcclient.ion.nu/tc_client.git
commit 45881628b88257fd28f19858b682da2ddb281f65
Author: Alicia <...>
Date:   Tue Oct 18 00:04:22 2016 +0200

    dist/appimage.sh: fix audio in appimages by building ffmpeg with support for nellymoser and speex, and depending on the system's libao and libpulse instead of including it in the appimage.

diff --git a/ChangeLog b/ChangeLog
index eb066c0..5974732 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 0.41:
 tc_client-gtk: bugfix: don't rely on stack allocated variables for GUI callbacks.
+dist/appimage.sh: fix audio in appimages by building ffmpeg with support for nellymoser and speex, and depending on the system's libao and libpulse instead of including it in the appimage.
 0.40:
 Moved the backward compatibility code for avcodec_{send,receive}_{frame,packet} into a separate source file to avoid pulling libavcodec into utilities that don't use it.
 Improved the RTMP acknowledgement code: counting the format 3 headers which were previously skipped, setting a more reasonable acknowledgement interval at startup and giving the server some margin before dropping outgoing video packets.
diff --git a/Makefile b/Makefile
index 3bca681..534a915 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION=0.40
+VERSION=0.41pre
 CFLAGS=-g3 -Wall $(shell curl-config --cflags)
 LDFLAGS=-g3
 PREFIX=/usr/local
diff --git a/dist/appimage.sh b/dist/appimage.sh
index cb41a8a..475f962 100755
--- a/dist/appimage.sh
+++ b/dist/appimage.sh
@@ -15,7 +15,7 @@ mkdir -p deps/src
   cd ffmpeg-3.1.4
   mkdir -p build
   cd build
-  ../configure --prefix="${rootdir}/deps" --enable-gpl --disable-programs --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-avdevice --disable-avformat --disable-postproc --disable-avfilter --disable-encoders --enable-encoder="flv" --disable-decoders --enable-decoder="flv" --disable-parsers --disable-bsfs --disable-devices --disable-sdl --disable-libxcb --disable-xlib --enable-static --disable-shared
+  ../configure --prefix="${rootdir}/deps" --enable-gpl --disable-programs --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-avdevice --disable-avformat --disable-postproc --disable-avfilter --disable-encoders --enable-encoder="flv,nellymoser,speex" --disable-decoders --enable-decoder="flv,nellymoser,speex" --disable-parsers --disable-bsfs --disable-devices --disable-sdl --disable-libxcb --disable-xlib --enable-static --disable-shared
   make
   make install
 )
@@ -87,7 +87,9 @@ ldd appdir/usr/bin/* | while read dep; do
     libssl.so.*|\
     libcrypto.so.*|\
     libxkbcommon.so.*|\
-    libgpg-error.so.*) continue;;
+    libgpg-error.so.*|\
+    libpulse*.so.*|\
+    libao.so.*) continue;;
   esac
   cp -L "$path" appdir/usr/lib
 done