diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2022-11-10 16:36:21 +0800 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-26 13:17:10 +0200 |
| commit | 6b253999f76550d66c6d71efc1e57a17fda03bdf (patch) | |
| tree | 1f243f11589ffe9b8ee82232007fcd885139fee0 | |
| parent | e49af85d19397f1286ef329919886b1b7f4e7c97 (diff) | |
| download | meta-openembedded-6b253999f76550d66c6d71efc1e57a17fda03bdf.tar.gz | |
ibus: add opengl related check
Add opengl to REQUIRED_DISTRO_FEATURES when gtk4 is configured in
PACKAGECONFIG.
Fixes:
ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-support/ibus/ibus.bb DEPENDS on or otherwise requires it)
gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'ibus', 'gtk4']
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 35dd6f4833fc6895cb281f5e6dfcc5469d8a6b04)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-support/ibus/ibus.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb index be43d0d500..7156081499 100644 --- a/meta-gnome/recipes-support/ibus/ibus.bb +++ b/meta-gnome/recipes-support/ibus/ibus.bb | |||
| @@ -8,7 +8,7 @@ DEPENDS += " \ | |||
| 8 | iso-codes \ | 8 | iso-codes \ |
| 9 | " | 9 | " |
| 10 | 10 | ||
| 11 | inherit gtk-icon-cache bash-completion | 11 | inherit gtk-icon-cache bash-completion features_check |
| 12 | 12 | ||
| 13 | # for unicode-ucd | 13 | # for unicode-ucd |
| 14 | EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd" | 14 | EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd" |
| @@ -19,6 +19,8 @@ PACKAGECONFIG ??= " \ | |||
| 19 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ | 19 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ |
| 20 | " | 20 | " |
| 21 | 21 | ||
| 22 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}" | ||
| 23 | |||
| 22 | do_configure:prepend() { | 24 | do_configure:prepend() { |
| 23 | # run native unicode-parser | 25 | # run native unicode-parser |
| 24 | sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am | 26 | sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am |
