android vlc 编译流程

1. git clone git://git.videolan.org/vlc/vlc-android.git

2. get android ndk and sdk

3. 

export ANDROID_NDK=/home/me/android/android-ndk-r8e
export ANDROID_SDK=/home/me/android/android-sdk-linux
export VLC_BUILD_DIR=/home/me/local/sources/vlc-android/builddir
export VLC_CONTRIB=/home/me/local/sources/vlc-android/extras/contrib/build
PATH=$ANDROID_NDK:$ANDROID_SDK/tools:/home/me/android/android-standalone-toolchain/bin:$PATH

4. 

sudo apt-get install subversion

5. 

cd extras/contrib/

 ./bootstrap -t arm-eabi -d android 

6. 

make

7. 如果报有些库找不到的话,自己下载放到build-src

例如libmpeg2-0.5.1.tar.gz

8.

/bin/sh: 1: cmake: Permission denied

sudo apt-get install cmake

make[3]: arm-elf-g++: Command not found

http://blog.csdn.net/flyingqr/article/details/9243637


9. cd ~/code/vlc-android

10. ./bootstrap

11. mkdir builddir

12. ../extras/package/android/configure.sh

13. ./compile -k


你可能感兴趣的:(android vlc 编译流程)