diff options
-rw-r--r-- | INSTALL.md | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -16,7 +16,7 @@ | |||
16 | Build dependencies: | 16 | Build dependencies: |
17 | 17 | ||
18 | ```bash | 18 | ```bash |
19 | sudo apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev checkinstall check git | 19 | sudo apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev checkinstall check git libswscale-dev libsdl-dev libopenal-dev libopus-dev libvpx-dev yasm |
20 | ``` | 20 | ``` |
21 | 21 | ||
22 | On Fedora: | 22 | On Fedora: |
@@ -40,6 +40,7 @@ sudo ldconfig | |||
40 | cd .. | 40 | cd .. |
41 | ``` | 41 | ``` |
42 | 42 | ||
43 | |||
43 | Or if checkinstall is not easily available for your distribution (e.g. Fedora), | 44 | Or if checkinstall is not easily available for your distribution (e.g. Fedora), |
44 | this will install the libs to /usr/local/lib and the headers to /usr/local/include: | 45 | this will install the libs to /usr/local/lib and the headers to /usr/local/include: |
45 | 46 | ||
@@ -54,13 +55,22 @@ sudo make install | |||
54 | cd .. | 55 | cd .. |
55 | ``` | 56 | ``` |
56 | 57 | ||
58 | You also need recent [FFmpeg](http://git.videolan.org/?p=ffmpeg.git) libraries: | ||
59 | ```bash | ||
60 | git clone git://source.ffmpeg.org/ffmpeg.git | ||
61 | cd ffmpeg | ||
62 | git checkout n2.0.2 | ||
63 | ./configure --prefix=`pwd`/install --disable-programs | ||
64 | make && make install | ||
65 | cd .. | ||
66 | ``` | ||
57 | 67 | ||
58 | Then clone this repo and generate makefile: | 68 | Then clone this repo and generate makefile: |
59 | ```bash | 69 | ```bash |
60 | git clone git://github.com/irungentoo/ProjectTox-Core.git | 70 | git clone git://github.com/irungentoo/ProjectTox-Core.git |
61 | cd ProjectTox-Core | 71 | cd ProjectTox-Core |
62 | autoreconf -i | 72 | autoreconf -i |
63 | ./configure | 73 | ./configure --with-dependency-search=`pwd`/../ffmpeg/install |
64 | make | 74 | make |
65 | sudo make install | 75 | sudo make install |
66 | ``` | 76 | ``` |