Compare commits

..

1 Commits

Author SHA1 Message Date
Javernaut bceb383757 Sanitizing names of libraries to swap '-' with '_' 2 years ago
  1. 2
      .github/workflows/compilability_check.yml
  2. 8
      ffmpeg-android-maker.sh
  3. 3
      scripts/common-functions.sh
  4. 2
      scripts/libaom/download.sh
  5. 2
      scripts/libdav1d/download.sh
  6. 2
      scripts/libfreetype/download.sh
  7. 2
      scripts/libfribidi/download.sh
  8. 2
      scripts/mbedtls/download.sh
  9. 4
      tools/docker/Dockerfile

@ -12,7 +12,7 @@ jobs:
- name: Setup the environment
run: |
sudo pip3 install meson==1.2.1
sudo pip3 install meson==1.0.1
sudo apt-get install nasm ninja-build
- name: Executing the script

@ -84,13 +84,14 @@ do
# Executing the component-specific script for downloading the source code
source ${SCRIPTS_DIR}/${COMPONENT}/download.sh
SANITIZED_COMPONENT_NAME=$(echo ${COMPONENT} | sed "s/-/_/")
# The download.sh script has to export SOURCES_DIR_$COMPONENT variable
# with actual path of the source code. This is done for possiblity to switch
# between different verions of a component.
# If it isn't set, consider SOURCE_DIR_FOR_COMPONENT as the proper value
COMPONENT_SOURCES_DIR_VARIABLE=SOURCES_DIR_${COMPONENT}
COMPONENT_SOURCES_DIR_VARIABLE=SOURCES_DIR_${SANITIZED_COMPONENT_NAME}
if [[ -z "${!COMPONENT_SOURCES_DIR_VARIABLE}" ]]; then
export SOURCES_DIR_${COMPONENT}=${SOURCE_DIR_FOR_COMPONENT}
export SOURCES_DIR_${SANITIZED_COMPONENT_NAME}=${SOURCE_DIR_FOR_COMPONENT}
fi
# Returning to the rood directory. Just in case.
@ -106,7 +107,8 @@ do
for COMPONENT in ${COMPONENTS_TO_BUILD[@]}
do
echo "Building the component: ${COMPONENT}"
COMPONENT_SOURCES_DIR_VARIABLE=SOURCES_DIR_${COMPONENT}
SANITIZED_COMPONENT_NAME=$(echo ${COMPONENT} | sed "s/-/_/")
COMPONENT_SOURCES_DIR_VARIABLE=SOURCES_DIR_${SANITIZED_COMPONENT_NAME}
# Going to the actual source code directory of the current component
cd ${!COMPONENT_SOURCES_DIR_VARIABLE}

@ -29,5 +29,6 @@ function downloadTarArchive() {
rm ${ARCHIVE_NAME}
fi
export SOURCES_DIR_${LIBRARY_NAME}=$(pwd)/${LIBRARY_SOURCES}
SANITIZED_COMPONENT_NAME=$(echo ${LIBRARY_NAME} | sed "s/-/_/")
export SOURCES_DIR_${SANITIZED_COMPONENT_NAME}=$(pwd)/${LIBRARY_SOURCES}
}

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh
AOM_VERSION=v3.6.1
AOM_VERSION=v3.6.0
downloadTarArchive \
"libaom" \

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh
DAV1D_VERSION=1.2.1
DAV1D_VERSION=1.1.0
downloadTarArchive \
"libdav1d" \

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh
FREETYPE_VERSION=2.13.2
FREETYPE_VERSION=2.13.0
downloadTarArchive \
"libfreetype" \

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh
FRIBIDI_VERSION=1.0.13
FRIBIDI_VERSION=1.0.12
downloadTarArchive \
"libfribidi" \

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh
export MBEDTLS_VERSION=3.4.1
export MBEDTLS_VERSION=3.3.0
downloadTarArchive \
"mbedtls" \
"https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${MBEDTLS_VERSION}.tar.gz" \

@ -2,12 +2,12 @@ FROM --platform=linux/amd64 ubuntu:22.04
# Arguments that can be overridden in 'docker build' command:
# Versions of Android SDK and NDK. The CMake is installed via NDK.
ARG VERSION_SDK=10406996
ARG VERSION_SDK=9477386
ARG VERSION_NDK=25.2.9519653
ARG VERSION_CMAKE=3.22.1
# Package to install via pip3
ARG VERSION_MESON=1.2.1
ARG VERSION_MESON=1.0.1
# The HOME variable isn't available for ENV directive (during building an image).
# So we define one manually. For alpine and ubuntu it should be '/root'

Loading…
Cancel
Save