[meta-multimedia] packagegroup-meta-multimedia: include fdk-aac and mpd only with commercial in LICENSE_FLAGS_WHITELIST

Submitted by Martin Jansa on Oct. 16, 2020, 6:07 p.m. | Patch ID: 177307

Details

Message ID 20201016180730.1828900-1-Martin.Jansa@gmail.com
State Accepted
Commit 10cac080905e096d71109532fe00e53602875e48
Headers show

Commit Message

Martin Jansa Oct. 16, 2020, 6:07 p.m.
ERROR: Nothing RPROVIDES 'fdk-aac' (but meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb RDEPENDS on or otherwise requires it)
fdk-aac was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'fdk-aac' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['fdk-aac']

ERROR: Nothing RPROVIDES 'mpd' (but meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb RDEPENDS on or otherwise requires it)
mpd was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'mpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpd']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../packagegroups/packagegroup-meta-multimedia.bb             | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
index c9db21ab52..b4f09cdf54 100644
--- a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
+++ b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
@@ -30,8 +30,7 @@  RDEPENDS_packagegroup-meta-multimedia = "\
     dleyna-renderer \
     dleyna-server \
     dvb-apps \
-    ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "faac", "", d)} \
-    fdk-aac \
+    ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "faac fdk-aac mpd", "", d)} \
     gerbera \
     libao \
     libavc1394 \
@@ -43,7 +42,6 @@  RDEPENDS_packagegroup-meta-multimedia = "\
     libmusicbrainz \
     libmpdclient \
     mpc \
-    mpd \
     ncmpc \
     libmpd \
     ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "opencore-amr vo-aacenc vo-amrwbenc", "", d)} \