From 7e0009e99c93e3e99582464130fd6f85fd7a2aa9 Mon Sep 17 00:00:00 2001 From: novist Date: Tue, 28 Apr 2015 19:14:50 +0300 Subject: [PATCH] Fixed filter_audio lib windows bootstraping Added qrencode lib to windows bootstrap script --- windows/bootstrap.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/windows/bootstrap.sh b/windows/bootstrap.sh index 2394d526b..fdec29f23 100644 --- a/windows/bootstrap.sh +++ b/windows/bootstrap.sh @@ -32,6 +32,7 @@ fi ## filter_audio if [ ! -d $QTOX_DIR/libs/filter_audio ]; then git clone https://github.com/irungentoo/filter_audio.git $QTOX_DIR/libs/filter_audio + rm bin/libfilteraudio.dll else pushd $QTOX_DIR/libs/filter_audio git pull @@ -41,7 +42,31 @@ fi if [ ! -f "bin/libfilteraudio.dll" ]; then pushd $QTOX_DIR/libs/filter_audio PREFIX="$QTOX_DIR/libs" CC="gcc.exe" make install + mv libfilteraudio.dll.a $QTOX_DIR/libs/lib popd + if [ -f "lib/libfilteraudio.dll" ]; then + mv lib/libfilteraudio.dll bin/ + fi +fi + + +## qrencode +if [ ! -f "qrencode-3.4.4.tar.gz" ]; then + wget http://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz +fi + +if [ ! -d "$QTOX_DIR/libs/qrencode-3.4.4" ]; then + tar -xvf qrencode-3.4.4.tar.gz + rm -rf lib/qrcodelib.dll +fi + +if [ ! -f "lib/libqrencode.a" ]; then + pushd $QTOX_DIR/libs/qrencode-3.4.4 + ./autogen.sh + ./configure --prefix=$QTOX_DIR/libs --without-tests --without-libiconv-prefix --without-tools + make + make install + popd fi