Update dependencies + improvements - #6
Merged
Merged
Conversation
This help to have much better performance with libass.
When libass use the flag --enable-asm, it use nasm, so we need to install it.
Without this, I was getting this error with libass: ``` checking for nasm... yes checking if nasm supports vpmovzxwd... no configure: WARNING: nasm is too old (found NASM version 2.16.01); ASM functions are disabled. configure: WARNING: Install nasm-2.10 or later for a significantly faster libass build. configure: error: Assembly was requested, but cannot be built; see prior messages. ```
It doesn't have any purpose
Fix this warning: `configure: WARNING: unrecognized options: --disable-docs`
As said in the android documentation (https://developer.android.com/ndk/guides/other_build_systems#autoconf), we only need to specify `--host`. Also, CMAKE_C_COMPILER_TARGET doesn't contains the right value. For the ABI armeabi-v7a, CMAKE_C_COMPILER_TARGET = armv7-none-linux-androideabi21. It should be armv7a-linux-androideabi. For the ABI arm64-v8a, CMAKE_C_COMPILER_TARGET = aarch64-none-linux-android21. It should be aarch64-linux-android. For the ABI x86, CMAKE_C_COMPILER_TARGET = i686-none-linux-android21. It should be i686-linux-android. For the ABI x86-64, CMAKE_C_COMPILER_TARGET = x86_64-none-linux-android21. It should be x86_64-linux-android.
Without this, pkg-config could actually use system libraries because PKG_CONFIG_PATH simply add a path to search. For example, in my case, since I have json-c installed on my system, I was getting this error `ld.lld: error: unable to find library -ljson-c` because fontconfig was trying to link to it.
Fix this error: ``` 2026-09-08T00:16:52.3705815Z checking for FREETYPE... no 2026-09-08T00:16:52.3706403Z configure: error: Package requirements (freetype2 >= 21.0.15) were not met: 2026-09-08T00:16:52.3706874Z 2026-09-08T00:16:52.3707083Z Package 'zlib', required by 'freetype2', not found 2026-09-08T00:16:52.3707446Z 2026-09-08T00:16:52.3707743Z Consider adjusting the PKG_CONFIG_PATH environment variable if you 2026-09-08T00:16:52.3708382Z installed software in a non-standard prefix. 2026-09-08T00:16:52.3708715Z 2026-09-08T00:16:52.3739357Z Alternatively, you may set the environment variables FREETYPE_CFLAGS 2026-09-08T00:16:52.3740176Z and FREETYPE_LIBS to avoid the need to call pkg-config. 2026-09-08T00:16:52.3740726Z See the pkg-config man page for more details. ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.