diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-04-22 18:16:55 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-04-26 08:24:04 -0700 |
| commit | 4ff5b43edd3dd5843d29b66d809cb5365e9f9857 (patch) | |
| tree | 1cf6e16011c8bd372b86fb1ceb84ecf77c1154d4 | |
| parent | 43355d91e95045d84a77cef4d8f45c14bd045c9b (diff) | |
| download | meta-openembedded-4ff5b43edd3dd5843d29b66d809cb5365e9f9857.tar.gz | |
sysprof: Enable sysprofd/libsysprof only when polkit in DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb index 275fbaa699..e9fa25c63b 100644 --- a/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb +++ b/meta-gnome/recipes-gnome/sysprof/sysprof_3.36.0.bb | |||
| @@ -21,7 +21,9 @@ SRC_URI += " \ | |||
| 21 | file://0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \ | 21 | file://0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" | 24 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ |
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'libsysprof', '', d)} \ | ||
| 26 | ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" | ||
| 25 | PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle" | 27 | PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle" |
| 26 | PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit" | 28 | PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit" |
| 27 | PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit" | 29 | PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit" |
