<html><head></head><body><div>Hi,</div><div><br></div><div>On Wed, 2023-03-22 at 00:56 -0400, Scot Zarkiewicz via gstreamer-devel wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">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:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code>./cerbero-uninstalled <span class="gmail-nt">-c</span> config/cross-android-universal.cbc package gstreamer-1.0</code><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code><br></code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code>And I have been able to build the gst-plugins-bad recipe:</code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code><br></code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code>./cerbero-uninstalled -c config/cross-android-universal.cbc buildone gst-plugins-bad-1.0<br></code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code><br></code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code>When I do this I can see the gst-plugins-bad libraries are in the build/dist/android_universal/arm64/lib folder.</code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code><br></code></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><code>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.</code></div></div></blockquote><div><br></div><div>Like written in the cerbero README, you need to enable building of the Rust plugins for now:</div><div> <a href="https://gitlab.freedesktop.org/gstreamer/cerbero/#enabling-rust-cargo-support">https://gitlab.freedesktop.org/gstreamer/cerbero/#enabling-rust-cargo-support</a></div><div><br></div><div>I.e. pass `-v rust` to cerbero for bootstrap and the package steps.</div><div><br></div><div>You probably want to also pass `-b` to the package step to reduce the size of the output, see here for more details:</div><div> <a href="https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/381#ios-and-android-blockers-for-enabling-rust-variant-by-default">https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/381#ios-and-android-blockers-for-enabling-rust-variant-by-default</a></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><div><br></div><div><span><pre>-- <br></pre><div><div><span style="font-family: Calibri, sans-serif; font-size: 14.666667px;">Sebastian Dröge, Centricular Ltd · </span><a href="https://www.centricular.com/" title="Click to open https://www.centricular.com/" style="color: rgb(0, 0, 238); font-family: Calibri, sans-serif; font-size: 14.666667px;">https://www.centricular.com</a></div></div></span></div></body></html>