diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2024-11-07 19:51:41 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:50:57 -0800 |
| commit | 4b953a7d64fdc214d122367b403a3a54e78c40d1 (patch) | |
| tree | a1b0f7d6ad224c30259c739d6c72b0c3750f1aad /meta-gnome | |
| parent | b81c9ea11cd6be9392e2bfb5cfd185ee7ee44faa (diff) | |
| download | meta-openembedded-4b953a7d64fdc214d122367b403a3a54e78c40d1.tar.gz | |
sysprof: require opengl distro feature when gtk4 is dependend on
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 <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
| -rw-r--r-- | meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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 fccca1d8ff..a02bd0c91a 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" | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
| 5 | file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607" | 5 | file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607" |
| 6 | 6 | ||
| 7 | inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg | 7 | inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg features_check |
| 8 | 8 | ||
| 9 | DEPENDS += " \ | 9 | DEPENDS += " \ |
| 10 | glib-2.0-native \ | 10 | glib-2.0-native \ |
| @@ -20,6 +20,9 @@ SRC_URI += "file://0001-meson-Check-for-libunwind-instead-of-libunwind-gener.pat | |||
| 20 | " | 20 | " |
| 21 | SRC_URI[archive.sha256sum] = "07d9081a66cf2fb52753f48ff2b85ada75c60ff1bc1af1bd14d8aeb627972168" | 21 | SRC_URI[archive.sha256sum] = "07d9081a66cf2fb52753f48ff2b85ada75c60ff1bc1af1bd14d8aeb627972168" |
| 22 | 22 | ||
| 23 | # reason: gtk4 requires opengl distro feature | ||
| 24 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk', 'opengl', '', d)}" | ||
| 25 | |||
| 23 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ | 26 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ |
| 24 | ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \ | 27 | ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \ |
| 25 | agent \ | 28 | agent \ |
