It depends on mpv which depends on ffmpeg needing commercial in
LICENSE_FLAGS_ACCEPTED

Fixes
ERROR: Nothing PROVIDES 'ffmpeg' (but 
/srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
 DEPENDS on or otherwise requires it)
ffmpeg was skipped: Has a restricted license 'commercial' which is not listed 
in your LICENSE_FLAGS_ACCEPTED.
NOTE: Runtime target 'mpv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'python3-mpv', 'mpv', 'ffmpeg']

Signed-off-by: Khem Raj <[email protected]>
Cc: Jan Claußen <[email protected]>
---
 meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb 
b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
index c11ad4a118..2d345cfc55 100644
--- a/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
+++ b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
@@ -14,3 +14,4 @@ RDEPENDS:${PN} += "\
     mpv \
     python3-ctypes \
 "
+EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", 
"commercial", "0", "1", d)}"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122265): 
https://lists.openembedded.org/g/openembedded-devel/message/122265
Mute This Topic: https://lists.openembedded.org/mt/116580064/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to