From 6819b83d9aba18dc8166338053579d771acb950b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 1 Aug 2016 23:06:48 +0100 Subject: [PATCH] Install ffmpeg --- src/freedombone-app-tox | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index edaf9fdf..d6fa9ea5 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -49,10 +49,25 @@ TOXIC_FILE=/usr/local/bin/toxic QTOX_REPO="https://github.com/bashrc/qTox" QTOX_COMMIT='505c5043828cf0fc43ee3f16279a131e50edc057' +function mesh_install_ffmpeg +{ + chroot "${rootdir}" apt-get -y remove ffmpeg libav-tools + chroot "${rootdir}" apt-get -y install build-essential + chroot "${rootdir}" apt-get -y install --reinstall libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config + mkdir -p ${rootdir}$INSTALL_DIR/ffmpeg-release + cd ${rootdir}$INSTALL_DIR + wget http://ffmpeg.org/releases/ffmpeg-3.1.tar.bz2 + tar xvjf ffmpeg-3.1.tar.bz2 + chroot ${rootdir} /bin/bash -x <