diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-12-01 23:47:18 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-02 09:18:04 -0800 |
| commit | 846dd7cd5f31a2ed872617dc8839c3ff6fe73a4d (patch) | |
| tree | 5a06f59f45ea80ec10c2da78527b9a19b11d184a | |
| parent | c77bcf89d826551845df50592f7f9fc2fc3fead3 (diff) | |
| download | meta-openembedded-846dd7cd5f31a2ed872617dc8839c3ff6fe73a4d.tar.gz | |
python3-mpv: Do not consider it if commercial license is not selected
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 <raj.khem@gmail.com>
Cc: Jan Claußen <jan.claussen10@web.de>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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} += "\ | |||
| 14 | mpv \ | 14 | mpv \ |
| 15 | python3-ctypes \ | 15 | python3-ctypes \ |
| 16 | " | 16 | " |
| 17 | EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}" | ||
