Cerbero build for Android - Include libgstrtonvif

Sebastian Dröge sebastian at centricular.com
Wed Mar 22 12:16:44 UTC 2023


Hi,

On Wed, 2023-03-22 at 00:56 -0400, Scot Zarkiewicz via gstreamer-devel
wrote:
> 
> I am trying to add the gst-plugins-bad to the android universal build
> using cerbero.  I have been able to build the standard gstreamer-1.0
> package:
> 
> ./cerbero-uninstalled -c config/cross-android-universal.cbc package
> gstreamer-1.0
> 
> And I have been able to build the gst-plugins-bad recipe:
> 
> ./cerbero-uninstalled -c config/cross-android-universal.cbc buildone
> gst-plugins-bad-1.0
> 
> When I do this I can see the gst-plugins-bad libraries are in
> the build/dist/android_universal/arm64/lib folder.
> 
> My question though is how to get this recipe into the gstreamer-1.0
> android universal package?  I thought perhaps I could build the
> gstreamer-1.0 package again after building the recipe manually, but I
> don't see the libraries included in the generated runtime or
> universal tar balls.

Like written in the cerbero README, you need to enable building of the
Rust plugins for now:
  https://gitlab.freedesktop.org/gstreamer/cerbero/#enabling-rust-cargo-support

I.e. pass `-v rust` to cerbero for bootstrap and the package steps.

You probably want to also pass `-b` to the package step to reduce the
size of the output, see here for more details:
  https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/381#ios-and-android-blockers-for-enabling-rust-variant-by-default


-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230322/2594612e/attachment.htm>


More information about the gstreamer-devel mailing list