Update license handling for pipewire recipe 71/26571/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 23 Jun 2021 19:33:43 +0000 (21:33 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 25 Aug 2021 12:50:36 +0000 (12:50 +0000)
commitab3c458cb39c87efc456762f6dff7c376c52bbce
tree8b6a2493987b3dbb946a098bf46ff7abe33c96b7
parent330d34dc020189984878df86d2f4d9eeef5632e8
Update license handling for pipewire recipe

We need to set LICENSE to multiple (MIT & GPL-2.0-only & LGPL-2.1-or-later) to satisfy
the current scheme required by bitbake.

But the licenses of the output packages are not all 3,
but mostly MIT and a few LGPL-2.1-or-later and one GPL-2.0-only.
To map the dynamically created output packages with the proper MIT license,
we need to call setVar after all dynamic packages are created.

Bug-AGL: SPEC-3844

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
[manual cherry-pick of 340e5d4c from master/lamprey]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie27a929a35e713c7478cde8b097ea1da51428047
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26571
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
meta-pipewire/recipes-multimedia/pipewire/pipewire_0.3.30.bb