Adding -enable-all-external and -all flags to build all supported extenal libraries

pull/53/head
Javernaut 4 years ago
parent 12d1a65cc4
commit 04a6bd99e3
  1. 2
      .travis.yml
  2. 14
      scripts/parse-arguments.sh

@ -17,4 +17,4 @@ install:
- curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.14.02-1_amd64.deb --output $HOME/nasm_2.14.02-1_amd64.deb
- sudo dpkg -i $HOME/nasm_2.14.02-1_amd64.deb
script:
- ./ffmpeg-android-maker.sh -vpx -dav1d -mp3lame -aom -opus -wavpack -twolame -speex -android=18
- ./ffmpeg-android-maker.sh -all -android=18

@ -13,6 +13,17 @@ SOURCE_VALUE=4.3.1
BINUTILS=gnu
EXTERNAL_LIBRARIES=()
ALL_SUPPORTED_LIBRARIES=(
"libaom"
"libdav1d"
"libmp3lame"
"libopus"
"libwavpack"
"libtwolame"
"libspeex"
"libvpx"
)
for argument in "$@"; do
case $argument in
# Build for only specified ABIs (separated by comma)
@ -91,6 +102,9 @@ for argument in "$@"; do
--enable-libvpx|-vpx)
EXTERNAL_LIBRARIES+=( "libvpx" )
;;
--enable-all-external|-all)
EXTERNAL_LIBRARIES=${ALL_SUPPORTED_LIBRARIES[@]}
;;
*)
echo "Unknown argument $argument"
;;

Loading…
Cancel
Save