mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
opencv: Check for commercial_ffmpeg as well to enable ffmpeg
syntax for LICENSE_FLAGS_ACCEPTED can be "type_package" format as well and some distros may enable commercial license selectively by not using "commercial" as broadbrush but "commercial_ffmpeg" to just enable libav Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b3fdc71ef3
commit
01996cbe10
|
|
@ -109,7 +109,7 @@ EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1"
|
|||
|
||||
PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \
|
||||
${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "libav", "", d)}"
|
||||
${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}"
|
||||
|
||||
# TBB does not build for powerpc so disable that package config
|
||||
PACKAGECONFIG:remove:powerpc = "tbb"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user