[OE-core] [PATCH v3] libav: set LICENSE and LICENSE_FLAGS according to PACKAGECONFIG options

Matthieu CRAPET Matthieu.CRAPET at ingenico.com
Wed Jul 16 06:43:58 UTC 2014


Hi again,

> Some optional parts of Libav are licensed under the GNU General Public License version 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. 
> None of these parts are used by default, you have to explicitly pass --enable-gpl to configure to activate them. In this case, Libav's license changes to GPL v2+."

I may misunderstood something here.

For example:
- libavfiler. It contains yadif code which is GPLv2+ and frei0r code is LGPLv2.1+. Libavfiler is clearly contaminated: 
LICENSE_libavfilter = "GPLv2+"
- libavutils is 100% LGPL
LICENSE_libavutils = " LGPLv2.1+"

Giving --enable-gpl to configure does not convert pure 100% LGPL licensed library to GPL license. Am I wrong?

> Do you think it would be feasible to add code which decides whether to set --enable-gpl or not? Because --enable-gpl forbids linking libav for programs with incompatible licenses.
Yes it's possible.

Regards,
M



More information about the Openembedded-core mailing list