Adding shebang

ffmpeg_4.4.2
Javernaut 5 years ago
parent c8e04c162b
commit 533e4b838e
  1. 2
      ffmpeg-android-maker.sh
  2. 2
      scripts/export-build-variables.sh
  3. 2
      scripts/export-host-variables.sh
  4. 2
      scripts/ffmpeg/build.sh
  5. 2
      scripts/ffmpeg/download.sh
  6. 2
      scripts/libaom/build.sh
  7. 2
      scripts/libaom/download.sh
  8. 2
      scripts/libdav1d/build.sh
  9. 2
      scripts/libdav1d/download.sh
  10. 2
      scripts/libmp3lame/build.sh
  11. 2
      scripts/libmp3lame/download.sh
  12. 2
      scripts/parse-arguments.sh

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Defining essential directories
# The root of the project

@ -1,3 +1,5 @@
#!/usr/bin/env bash
function max() {
[ $1 -ge $2 ] && echo "$1" || echo "$2"
}

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Defining a toolchain directory's name according to the current OS.
# Assume that proper version of NDK is installed
# and is referenced by ANDROID_NDK_HOME environment variable

@ -1,3 +1,5 @@
#!/usr/bin/env bash
case $ANDROID_ABI in
armeabi-v7a)
EXTRA_BUILD_CONFIGURATION_FLAGS=--enable-thumb

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Script to download FFmpeg's source code
# Relies on FFMPEG_SOURCE_TYPE and FFMPEG_SOURCE_VALUE variables
# to choose the valid origin and version

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# libaom doesn't support building while being in its root directory
CMAKE_BUILD_DIR=aom_build_${ANDROID_ABI}
rm -rf ${CMAKE_BUILD_DIR}

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Script to download AV1 Codec Library's source code
# Exports SOURCES_DIR_libaom - path where actual sources are stored

@ -1,3 +1,5 @@
#!/usr/bin/env bash
CROSS_FILE_NAME=crossfile-${ANDROID_ABI}.meson
rm ${CROSS_FILE_NAME}

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Script to download Dav1d's source code
# Exports SOURCES_DIR_libdav1d - path where actual sources are stored

@ -1,3 +1,5 @@
#!/usr/bin/env bash
./configure \
--prefix=${INSTALL_DIR} \
--target=${TARGET} \

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Script to download Lame's source code
# Exports SOURCES_DIR_libmp3lame - path where actual sources are stored

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# This script parses arguments that were passed to ffmpeg-android-maker.sh
# and exports a bunch of varables that are used elsewhere.

Loading…
Cancel
Save