libmad error in yocto krogoth 2.1.2

215 views Asked by At

I am compiling libmad in yocto-2.1.2 its giving below error.

Nothing PROVIDES 'libmad'libmad was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST

How to resove this error. THanks in advance.

I'm compiling libmad for python-pygame recipe in yocto(toaster).

1

There are 1 answers

5
Anders On

In the libmad recipe, there's a line

LICENSE_FLAGS = "commercial"

which means that you might require a commercial license (depending on jurisdiction etc. This can often be the case for eg media encoders / decoders).

If / when you have solved that issue (either by obtaining a commercial license, or deemed that you don't need one), you should add:

LICENSE_FLAGS_WHITELIST += "commercial_libmad"

in your local.conf or in your distro config.