Skip to content

Commit 87a07be

Browse files
committed
Merge branch 'development' into adding/libx265
# Conflicts: # .github/workflows/compilability_check.yml
2 parents a5d5263 + 9913f34 commit 87a07be

File tree

8 files changed

+14
-9
lines changed

8 files changed

+14
-9
lines changed

.github/workflows/compilability_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
- name: Executing the script
1919
run: |
2020
export ANDROID_SDK_HOME=$ANDROID_HOME
21-
export ANDROID_NDK_HOME=$ANDROID_NDK
21+
export ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME
2222
./ffmpeg-android-maker.sh -x265 -android=24 -abis=${{ matrix.abi }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The script also produces `ffmpeg` and `ffprobe` executables that can be used in
1313

1414
The main focus of ffmpeg-android-maker is to prepare shared libraries for seamless integration into an Android project. The script prepares the `output` directory that is meant to be used. And it's not the only thing this project does.
1515

16-
By default this script downloads and builds the FFmpeg **6.0**, but the version can be overridden.
16+
By default this script downloads and builds the FFmpeg **6.1**, but the version can be overridden.
1717

1818
The details of how this script is implemented are described in this series of posts:
1919
* [Part 1](https://proandroiddev.com/a-story-about-ffmpeg-in-android-part-i-compilation-898e4a249422)

scripts/libfreetype/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ FREETYPE_VERSION=2.13.2
66

77
downloadTarArchive \
88
"libfreetype" \
9-
"https://nav.dl.sourceforge.net/project/freetype/freetype2/${FREETYPE_VERSION}/freetype-${FREETYPE_VERSION}.tar.gz"
9+
"https://download.savannah.gnu.org/releases/freetype/freetype-${FREETYPE_VERSION}.tar.gz"

scripts/mbedtls/android.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include("$ENV{ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake")
2+
3+
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
4+
set(CMAKE_C_FLAGS "-mpclmul -msse2 -maes")
5+
endif()

scripts/mbedtls/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd ${CMAKE_BUILD_DIR}
1111
${CMAKE_EXECUTABLE} .. \
1212
-DANDROID_PLATFORM=${ANDROID_PLATFORM} \
1313
-DANDROID_ABI=${ANDROID_ABI} \
14-
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \
14+
-DCMAKE_TOOLCHAIN_FILE=${SCRIPTS_DIR}/mbedtls/android.cmake \
1515
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
1616
-DENABLE_TESTING=0
1717

scripts/mbedtls/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source ${SCRIPTS_DIR}/common-functions.sh
44

5-
export MBEDTLS_VERSION=3.4.1
5+
export MBEDTLS_VERSION=3.5.1
66
downloadTarArchive \
77
"mbedtls" \
88
"https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${MBEDTLS_VERSION}.tar.gz" \

scripts/parse-arguments.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# Can be overridden with specific arguments.
88
# See the end of this file for more description.
99
ABIS_TO_BUILD=()
10-
API_LEVEL=19
10+
API_LEVEL=21
1111
SOURCE_TYPE=TAR
12-
SOURCE_VALUE=6.0
12+
SOURCE_VALUE=6.1
1313
EXTERNAL_LIBRARIES=()
1414
FFMPEG_GPL_ENABLED=false
1515

tools/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM --platform=linux/amd64 ubuntu:22.04
33
# Arguments that can be overridden in 'docker build' command:
44
# Versions of Android SDK and NDK. The CMake is installed via NDK.
55
ARG VERSION_SDK=10406996
6-
ARG VERSION_NDK=25.2.9519653
6+
ARG VERSION_NDK=26.1.10909125
77
ARG VERSION_CMAKE=3.22.1
88

99
# Package to install via pip3
@@ -25,7 +25,7 @@ RUN apt-get --allow-releaseinfo-change update && apt-get install -y --no-install
2525
python3-wheel \
2626
ninja-build \
2727
build-essential \
28-
openjdk-8-jdk-headless \
28+
openjdk-17-jdk-headless \
2929
curl \
3030
unzip \
3131
bash \

0 commit comments

Comments
 (0)