Merge branch 'master' of git.linphone.org:linphone-android
This commit is contained in:
commit
7bd4a7f7ef
2 changed files with 14 additions and 7 deletions
12
README
12
README
|
@ -3,14 +3,12 @@
|
||||||
|
|
||||||
To build liblinphone for Android, you must:
|
To build liblinphone for Android, you must:
|
||||||
1) download the Android ndk (r5b, r6) from google.
|
1) download the Android ndk (r5b, r6) from google.
|
||||||
2) download libilbc code by doing:
|
2) run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
|
||||||
cd submodules/libilbc-rfc3951 && ./configure && make
|
|
||||||
3) prepare libvpx
|
$ ./prepare_sources.sh
|
||||||
cd submodules/externals/build/libvpx
|
|
||||||
./asm_conversion.sh
|
|
||||||
cp *.asm *.h ../../libvpx/
|
|
||||||
4) finally from directory linphone-android, just execute command:
|
4) finally from directory linphone-android, just execute command:
|
||||||
ndk-build
|
$ ${my google ndk directory}/ndk-build
|
||||||
|
|
||||||
Some options can be passed to ndk-build, like "ndk-build SOME_OPTION=SOME_VALUE"
|
Some options can be passed to ndk-build, like "ndk-build SOME_OPTION=SOME_VALUE"
|
||||||
|
|
||||||
|
|
9
prepare_sources.sh
Executable file
9
prepare_sources.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
topdir=`pwd`
|
||||||
|
|
||||||
|
cd submodules/libilbc-rfc3951 && ./configure && make || ( echo "iLBC prepare stage failed" ; exit -1 )
|
||||||
|
|
||||||
|
cd $topdir/submodules/externals/build/libvpx && ./asm_conversion.sh && cp *.asm *.h ../../libvpx/ || ( echo "VP8 prepare stage failed." ; exit -1 )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue