I'm building a Linux embedded OS usingYocto in which I have to include SoX to perform downsampling of .wav files. SoX is under GPL or LGPL license (the downsampling function I use is under LGPL)
When I build my Linux, an error occurs as SoX depends on ffmpeg. When I add it, another error occurs :
ERROR: Nothing PROVIDES 'ffmpeg' (but /home/myHome/Yocto/poky/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb DEPENDS on or otherwise requires it)
ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
If I set LICENSE_FLAGS_WHITELIST="commercial" in conf/local.conf, as suggested, it builds.
However, I have a question: why using ffmpeg does require "commercial" license, as it is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later (according to https://www.ffmpeg.org/legal.html)?
How can I avoid to set this flag?