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. https://github.com/agherzan/meta-raspberrypi/pull/985 On Sat, Jul 30, 2022, 14:32 Ross Burton <[email protected]> wrote: > > On 30 Jul 2022, at 03:28, Vincent Davis Jr via lists.openembedded.org > <[email protected]> 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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#98063): https://lists.openembedded.org/g/openembedded-devel/message/98063 Mute This Topic: https://lists.openembedded.org/mt/92704766/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
