Created
February 19, 2017 23:07
-
-
Save ymauray/b73f13a8192f383e02878ef5168effe7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sudo apt-get install build-essential libc6-dev libglib2.0-dev libjack-dev jackd libvorbis-dev libsamplerate0-dev libsndfile1-dev python-gtk2-dev libmpg123-dev libavcodec-dev libavformat-dev libtwolame-dev libmp3lame-dev libflac-dev python-mutagen libspeex-dev git-core autoconf libtool autopoint imagemagick libtool-bin | |
mkdir ~/dev | |
cd ~/dev | |
mkdir ffmpeg | |
cd ffmpeg/ | |
mkdir archive | |
cd archive | |
wget http://ffmpeg.org/releases/ffmpeg-3.2.4.tar.bz2 | |
cd .. | |
mkdir src | |
cd src/ | |
tar xvf ../archive/ffmpeg-3.2.4.tar.bz2 | |
cd .. | |
mkdir build | |
cd build/ | |
../src/ffmpeg-3.2.4/configure --prefix=/usr/local/idjc | |
make | |
sudo make install | |
cd ../.. | |
git clone [email protected]:jonathanrelf/idjc.git | |
cd idjc | |
./bootstrap | |
cd libshout-idjc/ | |
./configure --prefix=/usr/local/idjc | |
make | |
make install | |
cd .. | |
LIBS="-L/usr/local/idjc/lib" CPPFLAGS="-I/usr/local/idjc/include" CFLAGS="-I/usr/local/idjc/include" LD_FLAGS="-L/usr/local/idjc/lib" PKG_CONFIG_PATH=/usr/local/idjc/lib/pkgconfig ./configure --prefix=/usr/local/idjc | |
LIBS="-L/usr/local/idjc/lib" CPPFLAGS="-I/usr/local/idjc/include" CFLAGS="-I/usr/local/idjc/include" LD_FLAGS="-L/usr/local/idjc/lib" PKG_CONFIG_PATH=/usr/local/idjc/lib/pkgconfig make | |
sudo LIBS="-L/usr/local/idjc/lib" CPPFLAGS="-I/usr/local/idjc/include" CFLAGS="-I/usr/local/idjc/include" LD_FLAGS="-L/usr/local/idjc/lib" PKG_CONFIG_PATH=/usr/local/idjc/lib/pkgconfig make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment