Page 1 of 1

OE building with recipetool [closed]

Posted: Wed May 04, 2022 5:48 am
by scsijon

Before I attempt to build a couple of packages I need and can't find any recipes anywhere for, can i ask for any hints or comments you have relating to OE's recipetool please, or are you using some other way.
thanks


Re: OE building with recipetool

Posted: Wed May 04, 2022 4:20 pm
by BarryK

It's difficult to give hints on creating successful recipes, as OE is so complex.

You can see an example in the first line of the recipe given in latest blog post, of how recipetool was used:

https://bkhome.org/news/202205/scrcpy-c ... edded.html

But, it often creates a very incomplete recipe, and that's where lots of prior experience with getting recipes to work, comes in.
In fact, that recipe for scrcpy is nothing like the auto-generated one.

One useful hint is to compile the package in a running EasyOS first, to clarify the steps required, dependencies, etc. That's what I did with scrcpy, so I knew that the recipe generated by recipetool was very wrong.

I also knew from other recipes, what is required in a meson build.

Sometimes, recipetool does get it exactly right.


Re: OE building with recipetool

Posted: Thu May 12, 2022 12:27 pm
by scsijon

thanks, i'll play safe for now then.