]> code.ossystems Code Review - openembedded-core.git/commit
libomxil: Fix up commercial license flag
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 12 Feb 2021 16:51:57 +0000 (10:51 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Feb 2021 17:00:13 +0000 (17:00 +0000)
commit5f61e20002c2af93e2d6810574e23606925526ee
treeec77e5bc422e8853e188fe4952e8208a4821b0b6
parentb548c2f4d1d88f80d713551a408064d4f5ff3d7f
libomxil: Fix up commercial license flag

The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.

It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb