From 226a46215912c0103a1be4d70f5c49e0bde29724 Mon Sep 17 00:00:00 2001 From: Javernaut Date: Sun, 19 Apr 2020 15:47:57 +0300 Subject: [PATCH] Shorter aruments support --- scripts/parse-arguments.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/parse-arguments.sh b/scripts/parse-arguments.sh index f0dca8b..acc3e4d 100755 --- a/scripts/parse-arguments.sh +++ b/scripts/parse-arguments.sh @@ -14,7 +14,7 @@ for argument in "$@" do case $argument in # Use this value as Android platform version during compilation. - --android-api-level=*) + --android-api-level=*|-android=*) API_LEVEL="${argument#*=}" shift ;; @@ -37,15 +37,15 @@ do shift ;; # Arguments below enable certain external libraries to build into FFmpeg - --enable-libaom) + --enable-libaom|-aom) EXTERNAL_LIBRARIES+=( "libaom" ) shift ;; - --enable-libdav1d) + --enable-libdav1d|-dav1d) EXTERNAL_LIBRARIES+=( "libdav1d" ) shift ;; - --enable-libmp3lame) + --enable-libmp3lame|-mp3lame) EXTERNAL_LIBRARIES+=( "libmp3lame" ) shift ;;