Commit 789b048b authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐
Browse files

cross-files: update README

- fix cross file path in example;
- make_standalone_toolchain.py has been deprecated, it's now recommended
to use prebuilt toolchains.
parent dd2bf799
Pipeline #195503 waiting for manual action with stages
in 3 minutes and 28 seconds
......@@ -6,17 +6,16 @@ recommended to use Cerbero to cross compile GStreamer when other external
dependencies are required.
Once the toolchain is installed and a Meson cross file is created, to build
GStreamer simply run for example: `meson --cross-file cross-files/mingw_w64_x86-64.txt builddir`.
GStreamer simply run for example: `meson --cross-file data/cross-files/mingw_w64_x86-64.txt builddir`.
## Android
Requires Android API level >= 28, previous versions are missing *iconv* dependency.
- Download and extract the [NDK](https://developer.android.com/ndk/)
- Create a standalone toolchain targeting your arch and API level:
`./build/tools/make_standalone_toolchain.py --arch $arch --api $api --install-dir $toolchain_path`
- Create a Meson cross file, you can use `android_arm64_api28.txt` as example
and change CPU architectures and toolchain path.
and change CPU architectures and toolchain path using the prebuilt toolchains
from the NDK.
Notes:
- On fedora the Android NDK requires the `ncurses-compat-libs` package.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment