On 30 Jul 2022, at 03:28, Vincent Davis Jr via lists.openembedded.org <vince=underview.tech@...> wrote:
For layers that want to provide the ability to
select a version of VLC.
There’s no need for this.
If there’s just different versions, then have vlc_1.2.3.bb alongside vlc_1.0.0.bb and use PREFERRED_VERSION.
If you’ve got a fork, then just name it vlc-foo_1.2.3.bb and use PREFERRED_PROVIDER.
There’s no need to use virtual/ with PREFERRED_PROVIDER. virtual/* should only be used when you want an abstract thing and there are many implementation, such as virtual/libc, which can be glibc, newlib, musl, etc.
Ross