mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
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 35dd6f4833)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
committed by
Gyorgy Sarvari
parent
e49af85d19
commit
6b253999f7
@@ -8,7 +8,7 @@ DEPENDS += " \
|
|||||||
iso-codes \
|
iso-codes \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit gtk-icon-cache bash-completion
|
inherit gtk-icon-cache bash-completion features_check
|
||||||
|
|
||||||
# for unicode-ucd
|
# for unicode-ucd
|
||||||
EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
|
EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
|
||||||
@@ -19,6 +19,8 @@ PACKAGECONFIG ??= " \
|
|||||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
|
||||||
|
|
||||||
do_configure:prepend() {
|
do_configure:prepend() {
|
||||||
# run native unicode-parser
|
# run native unicode-parser
|
||||||
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
|
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
|
||||||
|
|||||||
Reference in New Issue
Block a user