Last active
February 22, 2016 09:21
-
-
Save ledil/7bf66aa6563ed1c9c9c7 to your computer and use it in GitHub Desktop.
install_linphone.sh
This file contains hidden or 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/sh | |
| sudo apt-get install software-properties-common | |
| sudo add-apt-repository ppa:george-edison55/cmake-3.x | |
| sudo apt-get update | |
| sudo apt-get install cmake libgtk2.0-dev libspeexdsp-dev \ | |
| libavcodec-dev libswscale-dev libx11-dev libxv-dev libgl1-mesa-dev \ | |
| libglew1.6-dev libv4l-dev libxml2-dev libtool automake intltool | |
| sudo apt-get install libantlr3c-dev pkg-config libantlr3c-dev antlr3 g++ make | |
| sudo apt-get install libreadline-dev libgsm1-dev libtheora-dev \ | |
| libsqlite3-dev libupnp6-dev libsrtp-dev | |
| sudo apt-get install libcunit1-dev libpolarssl-dev | |
| git clone git://git.linphone.org/bctoolbox.git | |
| cd bctoolbox | |
| cmake . -DCMAKE_INSTALL_PREFIX=/usr | |
| make && make install | |
| ldconfig | |
| sed -i -- 's/Version:/Version: 0.0.0/g' /usr/lib/x86_64-linux-gnu/pkgconfig/bctoolbox.pc | |
| cd .. | |
| wget https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.2.jar | |
| mv antlr-3.2.jar /usr/share/java/antlr.jar | |
| git clone git://git.linphone.org/belle-sip.git | |
| cd belle-sip | |
| ./autogen.sh | |
| ./configure && make && sudo make install | |
| ldconfig | |
| git clone https://github.com/BelledonneCommunications/linphone.git --recursive | |
| cd linphone | |
| ./autogen.sh | |
| ./configure | |
| make | |
| make install | |
| ldconfig | |
| wget https://www.linphone.org/snapshots/linphone-python/linphone-3.9.1_520_g4bef511-cp27-none-linux_x86_64.whl | |
| pip install linphone-3.9.1_520_g4bef511-cp27-none-linux_x86_64.whl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment