On 5/14/21 1:34 AM, Jose Quaresma wrote:
Hi Khem,

There has already been a discussion about this in
https://lists.openembedded.org/g/openembedded-core/message/143935

In short: If libav needs ffmpeg, it will need that line (with a comment
explaining its due to the dependency). Assuming libav without
ffmpeg doesn't make sense/work


yeah, I think this is perhaps not the best way to solve it. Lets ignore this patchset

Khem Raj <raj.k...@gmail.com> escreveu no dia quinta, 13/05/2021 à(s) 23:38:

From: Yann Dirson <y...@blade-group.com>

This flag does not describe the gst-libav package, but ffmpeg instead.
It gets in the way of using finer-grained LICENSE_FLAGS in ffmpeg.

It is above all not needed, the real problem is even more clear without it:

  ffmpeg was skipped: because it has a restricted license 'commercial'. Which 
is not whitelisted in LICENSE_FLAGS_WHITELIST
  ERROR: Required build target 'gstreamer1.0-libav' has no buildable providers.
  Missing or unbuildable dependency chain was: ['gstreamer1.0-libav', 'ffmpeg']

Signed-off-by: Yann Dirson <y...@blade-group.com>
Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
  meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb
index 7c39e7da37..d5b38f77c5 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb
@@ -4,9 +4,6 @@ muxers, and demuxers provided by FFmpeg."
  HOMEPAGE = "http://gstreamer.freedesktop.org/";
  SECTION = "multimedia"

-# ffmpeg has comercial license flags so add it as we need ffmpeg as a 
dependency
-LICENSE_FLAGS = "commercial"
-
  LICENSE = "LGPLv2+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
                      
file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c
 \
--
2.31.1






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151768): 
https://lists.openembedded.org/g/openembedded-core/message/151768
Mute This Topic: https://lists.openembedded.org/mt/82811767/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to