From 62fe80b2645d2ef2c0d515cdf82653640bb2b018 Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 18 May 2024 20:38:31 +0300 Subject: [PATCH] Add a script to build all variants for a release --- android-all.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 android-all.sh diff --git a/android-all.sh b/android-all.sh new file mode 100755 index 0000000..e74caff --- /dev/null +++ b/android-all.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +set -euxo pipefail + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-min.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{gpl,x264,x265,xvidcore,libvidstab} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-min-gpl.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{gmp,gnutls} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-https.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{gmp,gnutls} \ + --enable-{gpl,x264,x265,xvidcore,libvidstab} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-https-gpl.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{lame,libilbc,libvorbis,opencore-amr,opus,shine,soxr,speex,twolame,vo-amrwbenc} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-audio.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{dav1d,fontconfig,freetype,fribidi,kvazaar,libass,libiconv,libtheora,libvpx,libwebp,snappy,zimg} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-video.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{dav1d,fontconfig,freetype,fribidi,gmp,gnutls,kvazaar,lame,libass,libiconv,libilbc,libtheora,libvorbis,libvpx,libwebp,libxml2,opencore-amr,opus,shine,snappy,soxr,speex,twolame,vo-amrwbenc,zimg} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-full.aar + +./android.sh --lts --enable-android-media-codec --enable-android-zlib --disable-x86-64 \ + --enable-{gpl,x264,x265,xvidcore,libvidstab} \ + --enable-{dav1d,fontconfig,freetype,fribidi,gmp,gnutls,kvazaar,lame,libass,libiconv,libilbc,libtheora,libvorbis,libvpx,libwebp,libxml2,opencore-amr,opus,shine,snappy,soxr,speex,twolame,vo-amrwbenc,zimg} +mv prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar ffmpeg-kit-full-gpl.aar