Trouble creating virtual library provider package..
Hi all,
How would I go about if I'd like to have two packages that provide the same thing? For example, I have package freetype, and freetype-led (which has a device-specific hack). Or ffmpeg and ffmpeg-minimal (which builds the smallest possible libavcodec/format). The right package is selected by the image recipe, via a task.
Is the normal way to do this to make a virtual/freetype and PREFERRED_PROVIDER? I tried to do this, but still have trouble with double providers etc. It gets tricky if package-name munging is involved, where the final package is called libfreetype6_2.3.7-r4_i586.ipk, and not freetype_2.3.7-r4_i586.ipk (and freetype-led_2.3.7-r4_i586.ipk).
If this is the right way, can someone point to a good (simple) example of a virtual library provider?
Cheers!
Rob