<div dir="ltr">Hi folks, <div><br></div><div>I've been trying to build and package gstreamer for android using cerbero. Additionally to what comes bundled by default, I've been trying to build the static versions of video4linux2 and faac. </div><div><br></div><div>I've cloned cerbero from the repo, checked out tag 1.4.5. Currently my config file has the following contents.</div><div><br></div><div><a href="https://gist.github.com/SergioRAgostinho/9d252023507a83b41b49">https://gist.github.com/SergioRAgostinho/9d252023507a83b41b49</a><br></div><div><br></div><div><pre class="" style="margin-top:0px;margin-bottom:0px;width:748px"><blockquote class="gmail_quote" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="" style="color:rgb(167,29,93)">import</span> os<br><span class="" style="color:rgb(167,29,93)">from</span> cerbero.config <span class="" style="color:rgb(167,29,93)">import</span> Platform, Architecture, Distro, DistroVersion<br> <br>target_platform <span class="" style="color:rgb(167,29,93)">=</span> Platform.ANDROID<br>target_distro <span class="" style="color:rgb(167,29,93)">=</span> Distro.ANDROID<br>target_distro_version <span class="" style="color:rgb(167,29,93)">=</span> DistroVersion.ANDROID_JELLY_BEAN<br>target_arch <span class="" style="color:rgb(167,29,93)">=</span> Architecture.ARMv7<br> <br><span class="" style="color:rgb(150,152,150)">#variants = ['nodebug']<br></span>variants <span class="" style="color:rgb(167,29,93)">=</span> [<span class="" style="color:rgb(223,80,0)"><span class="">'</span>v4l2<span class="">'</span></span>]<br> <br> <br>toolchain_prefix <span class="" style="color:rgb(167,29,93)">=</span> <span class="" style="color:rgb(223,80,0)"><span class="">'</span>/home/nexusdev/Development/3rdparty/android-ndk-r10d<span class="">'</span></span></blockquote><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px"><br></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px">As you can see I added the v4l2 variant. I noticed that this created the libgstvideo4linux2.so and <span style="line-height:16.7999992370605px">libgstvideo4linux2.a </span><span style="line-height:16.7999992370605px">but it only bundled the shared library in the final package. </span></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px"><br></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px">What are the steps I need to perform to also be able to build faac?</div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px"><br></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px">Do I need perform a cerbero wipe every time I change some recipe? <span style="line-height:16.7999992370605px">I only added the v4l2 variant after I made an initial build attempt and I think the libraries were only built after I did wipe and requested for cerbero to build the package again. </span></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px"><span style="line-height:16.7999992370605px"><br></span></div><div style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px"><span style="line-height:16.7999992370605px">What do I need to target android-19 (kitkat)? I notice android.config has this little snippet in it</span></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">if target_distro_version == DistroVersion.ANDROID_GINGERBREAD:<br></span></font><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">    v = '9'<br></span></font><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">elif target_distro_version == DistroVersion.ANDROID_ICE_CREAM_SANDWICH:<br></span></font><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">    v = '14'<br></span></font><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">elif target_distro_version == DistroVersion.ANDROID_JELLY_BEAN:<br></span></font><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16.7999992370605px">    v = '14'</span></font></blockquote><div><br></div><div>Is adding another condition for ANDROID_KITKAT and setting v= '19' enough?</div><div><br></div><div><br></div><div>Sorry for the wall of text. </div><div>Cheers</div></pre></div></div>