diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-07-15 20:07:13 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-07-15 20:09:37 -0700 |
| commit | 4cd650c17febc10b47ad2c1897759683462e8e17 (patch) | |
| tree | fca9be23226075bc34d847a5e3965fa363c2597c /meta-oe | |
| parent | 3391a9b471189fd3ffa3580191a4437dd5fe51f2 (diff) | |
| download | meta-openembedded-4cd650c17febc10b47ad2c1897759683462e8e17.tar.gz | |
opencv: Check GTK3DISTROFEATURES for enabling gtk support
gtk with wayland without x11 works equally well, there is no need
for x11 alone to enable it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.9.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb b/meta-oe/recipes-support/opencv/opencv_4.9.0.bb index cf836d3ecf..54b850e68f 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.9.0.bb | |||
| @@ -86,7 +86,7 @@ EXTRA_OECMAKE:append:x86 = " -DX86=ON" | |||
| 86 | EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1" | 86 | EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1" |
| 87 | 87 | ||
| 88 | PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ | 88 | PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ |
| 89 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ | 89 | ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} |
| 90 | ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" | 90 | ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" |
| 91 | 91 | ||
| 92 | # TBB does not build for powerpc so disable that package config | 92 | # TBB does not build for powerpc so disable that package config |
