ffmpeg-kit/scripts/variable.sh

109 lines
2.6 KiB
Bash
Raw Normal View History

2020-08-05 03:53:02 +03:00
#!/bin/bash
# DIRECTORY DEFINITIONS
export FFMPEG_KIT_TMPDIR="${BASEDIR}/.tmp"
# ARRAY OF ENABLED ARCHITECTURES
2020-11-23 00:51:45 +02:00
ENABLED_ARCHITECTURES=(0 0 0 0 0 0 0 0 0 0 0 0 0)
2020-08-05 03:53:02 +03:00
2021-01-09 18:24:56 +02:00
# ARRAY OF ENABLED ARCHITECTURE VARIANTS
ENABLED_ARCHITECTURE_VARIANTS=(0 0 0 0 0 0 0 0)
2020-08-05 03:53:02 +03:00
# ARRAY OF ENABLED LIBRARIES
2020-11-23 00:51:45 +02:00
ENABLED_LIBRARIES=(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)
2020-08-05 03:53:02 +03:00
# ARRAY OF LIBRARIES THAT WILL BE RE-CONFIGURED
RECONF_LIBRARIES=()
# ARRAY OF LIBRARIES THAT WILL BE RE-BUILD
REBUILD_LIBRARIES=()
# ARRAY OF LIBRARIES THAT WILL BE RE-DOWNLOADED
REDOWNLOAD_LIBRARIES=()
# ARCH INDEXES
ARCH_ARM_V7A=0 # android
ARCH_ARM_V7A_NEON=1 # android
ARCH_ARMV7=2 # ios
ARCH_ARMV7S=3 # ios
ARCH_ARM64_V8A=4 # android
2020-11-23 00:51:45 +02:00
ARCH_ARM64=5 # ios, tvos, macos
2020-08-05 03:53:02 +03:00
ARCH_ARM64E=6 # ios
ARCH_I386=7 # ios
ARCH_X86=8 # android
ARCH_X86_64=9 # android, ios, macos, tvos
ARCH_X86_64_MAC_CATALYST=10 # ios
2020-11-23 00:51:45 +02:00
ARCH_ARM64_MAC_CATALYST=11 # ios
ARCH_ARM64_SIMULATOR=12 # ios
2020-08-05 03:53:02 +03:00
2021-01-09 18:24:56 +02:00
# ARCH VARIANT INDEXES
ARCH_VAR_IOS=1 # ios
ARCH_VAR_IPHONEOS=2 # ios
ARCH_VAR_IPHONESIMULATOR=3 # ios
ARCH_VAR_MAC_CATALYST=4 # ios
ARCH_VAR_TVOS=5 # tvos
ARCH_VAR_APPLETVOS=6 # tvos
ARCH_VAR_APPLETVSIMULATOR=7 # tvos
ARCH_VAR_MACOS=8 # macos
2020-08-05 03:53:02 +03:00
# LIBRARY INDEXES
LIBRARY_FONTCONFIG=0
LIBRARY_FREETYPE=1
LIBRARY_FRIBIDI=2
LIBRARY_GMP=3
LIBRARY_GNUTLS=4
LIBRARY_LAME=5
LIBRARY_LIBASS=6
LIBRARY_LIBICONV=7
LIBRARY_LIBTHEORA=8
LIBRARY_LIBVORBIS=9
LIBRARY_LIBVPX=10
LIBRARY_LIBWEBP=11
LIBRARY_LIBXML2=12
LIBRARY_OPENCOREAMR=13
LIBRARY_SHINE=14
LIBRARY_SPEEX=15
2021-01-30 01:35:05 +02:00
LIBRARY_DAV1D=16
2020-08-05 03:53:02 +03:00
LIBRARY_KVAZAAR=17
LIBRARY_X264=18
LIBRARY_XVIDCORE=19
LIBRARY_X265=20
LIBRARY_LIBVIDSTAB=21
LIBRARY_RUBBERBAND=22
LIBRARY_LIBILBC=23
LIBRARY_OPUS=24
LIBRARY_SNAPPY=25
LIBRARY_SOXR=26
LIBRARY_LIBAOM=27
LIBRARY_CHROMAPRINT=28
LIBRARY_TWOLAME=29
LIBRARY_SDL=30
LIBRARY_TESSERACT=31
LIBRARY_OPENH264=32
LIBRARY_VO_AMRWBENC=33
LIBRARY_GIFLIB=34
LIBRARY_JPEG=35
LIBRARY_LIBOGG=36
LIBRARY_LIBPNG=37
LIBRARY_LIBUUID=38
LIBRARY_NETTLE=39
LIBRARY_TIFF=40
LIBRARY_EXPAT=41
LIBRARY_SNDFILE=42
LIBRARY_LEPTONICA=43
LIBRARY_LIBSAMPLERATE=44
2020-11-23 00:51:45 +02:00
LIBRARY_HARFBUZZ=45
LIBRARY_CPU_FEATURES=46
LIBRARY_ANDROID_ZLIB=47
LIBRARY_ANDROID_MEDIA_CODEC=48
LIBRARY_APPLE_ZLIB=49
LIBRARY_APPLE_AUDIOTOOLBOX=50
LIBRARY_APPLE_BZIP2=51
LIBRARY_APPLE_VIDEOTOOLBOX=52
LIBRARY_APPLE_AVFOUNDATION=53
LIBRARY_APPLE_LIBICONV=54
LIBRARY_APPLE_LIBUUID=55
LIBRARY_APPLE_COREIMAGE=56
LIBRARY_APPLE_OPENCL=57
LIBRARY_APPLE_OPENGL=58