...
 
Commits (1)
......@@ -471,19 +471,21 @@ fi
############
echo "Building the contribs"
mkdir -p contrib/contrib-android-${TARGET_TUPLE}
mkdir -p contrib/contrib-${TARGET_TUPLE}
mkdir -p contrib/${TARGET_TUPLE}/lib/pkgconfig
avlc_gen_pc_file EGL 1.1
avlc_gen_pc_file GLESv2 2
cd contrib/contrib-android-${TARGET_TUPLE}
cd contrib/contrib-${TARGET_TUPLE}
export USE_FFMPEG=1
ANDROID_ABI=${ANDROID_ABI} ANDROID_API=${ANDROID_API} \
../bootstrap --host=${TARGET_TUPLE} ${VLC_BOOTSTRAP_ARGS}
avlc_checkfail "contribs: bootstrap failed"
if [ -f "vlc-contrib-${TARGET_TUPLE}-latest.tar.bz2" ]; then
make prebuilt
# Some libraries have arm assembly which won't build in thumb mode
# We append -marm to the CFLAGS of these libs to disable thumb mode
[ ${ANDROID_ABI} = "armeabi-v7a" ] && echo "NOTHUMB := -marm" >> Makefile.add
......@@ -503,16 +505,21 @@ rm -f Makefile.add
# fix modplug endianess check (narrowing error)
export ac_cv_c_bigendian=no
else
make $MAKEFLAGS fetch
avlc_checkfail "contribs: make fetch failed"
fi
# gettext
which autopoint >/dev/null || make $MAKEFLAGS .gettext
#export the PATH
# Make
if [ -f "vlc-contrib-${TARGET_TUPLE}-latest.tar.bz2" ]; then
make $MAKEFLAGS .luac
else
make $MAKEFLAGS package
avlc_checkfail "contribs: make failed"
fi
cd ../../
......