+6
-1
@@ -82,7 +82,7 @@ display_help() {
|
||||
echo -e "\n'"$COMMAND"' builds FFmpeg and MobileFFmpeg for Android platform. By default five Android ABIs (armeabi-v7a, armeabi-v7a-neon, arm64-v8a, x86 and x86_64) are built \
|
||||
without any external libraries enabled. Options can be used to disable ABIs and/or enable external libraries. \
|
||||
Please note that GPL libraries (external libraries with GPL license) need --enable-gpl flag to be set explicitly. \
|
||||
When compilation ends an Android Archive (AAR) file is created with enabled platforms inside.\n"
|
||||
When compilation ends an Android Archive (AAR) file is created under the prebuilt folder.\n"
|
||||
|
||||
echo -e "Usage: ./"$COMMAND" [OPTION]...\n"
|
||||
|
||||
@@ -709,6 +709,11 @@ if [[ -z ${ANDROID_HOME} ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z ${BUILD_VERSION} ]]; then
|
||||
echo -e "\nerror: Can not run git commands in this folder. See build.log.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "\nBuilding mobile-ffmpeg ${BUILD_TYPE_ID}library for Android\n"
|
||||
echo -e -n "INFO: Building mobile-ffmpeg ${BUILD_VERSION} ${BUILD_TYPE_ID}library for Android: " 1>>${BASEDIR}/build.log 2>&1
|
||||
echo -e $(date) 1>>${BASEDIR}/build.log 2>&1
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 92 KiB |
@@ -901,6 +901,11 @@ if [[ -n ${DISPLAY_HELP} ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -z ${BUILD_VERSION} ]]; then
|
||||
echo -e "\nerror: Can not run git commands in this folder. See build.log.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# SELECT XCODE VERSION USED FOR BUILDING
|
||||
XCODE_FOR_MOBILE_FFMPEG=~/.xcode.for.mobile.ffmpeg.sh
|
||||
if [[ -f ${XCODE_FOR_MOBILE_FFMPEG} ]]; then
|
||||
|
||||
@@ -778,6 +778,11 @@ if [[ ! -z ${DISPLAY_HELP} ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -z ${BUILD_VERSION} ]]; then
|
||||
echo -e "\nerror: Can not run git commands in this folder. See build.log.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# SELECT XCODE VERSION USED FOR BUILDING
|
||||
XCODE_FOR_MOBILE_FFMPEG=~/.xcode.for.mobile.ffmpeg.sh
|
||||
if [[ -f ${XCODE_FOR_MOBILE_FFMPEG} ]]; then
|
||||
|
||||
Reference in New Issue
Block a user