From: Chen Qi <[email protected]> gkt4 has 'opengl' in its REQUIRED_DISTRO_FEATURES, so when it is depended upon by sysprof, 'opengl' distro feature should also be required.
Signed-off-by: Chen Qi <[email protected]> --- meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb index fccca1d8f..a02bd0c91 100644 --- a/meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb +++ b/meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb @@ -4,7 +4,7 @@ LICENSE = "GPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607" -inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg +inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg features_check DEPENDS += " \ glib-2.0-native \ @@ -20,6 +20,9 @@ SRC_URI += "file://0001-meson-Check-for-libunwind-instead-of-libunwind-gener.pat " SRC_URI[archive.sha256sum] = "07d9081a66cf2fb52753f48ff2b85ada75c60ff1bc1af1bd14d8aeb627972168" +# reason: gtk4 requires opengl distro feature +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk', 'opengl', '', d)}" + PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \ agent \ -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113761): https://lists.openembedded.org/g/openembedded-devel/message/113761 Mute This Topic: https://lists.openembedded.org/mt/109458115/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
