Re: [meta-multimedia][PATCH] vlc: add virtual/vlc alias

Vincent Davis Jr

Hey again Ross sorry I know I already sent this meant to hit reply all.

Meant to say for layers that contain recipes that clone different implementations of VLC and want to allow the ability to select an implementation. Would be nice to have PROVIDES = "virtual/vlc" here versus multiple different layers providing bbappend files that add the PROVIDES variable.

Working in PR were we want to allow either upstream implementation of VLC or raspberry pi distro implementation.

On Sat, Jul 30, 2022, 14:32 Ross Burton <Ross.Burton@...> wrote:
> On 30 Jul 2022, at 03:28, Vincent Davis Jr via <> 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 alongside and use PREFERRED_VERSION.

If you’ve got a fork, then just name it 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.


Join to automatically receive all group messages.