diff options
| author | Wenlin Kang <wenlin.kang@windriver.com> | 2026-04-23 12:56:51 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-23 07:54:07 -0700 |
| commit | 8c9adcfadb5fd99335f5b18059f49357e39736af (patch) | |
| tree | ffa2fde11403ce56b55d3b7e0453effa66f56b9f /meta-xfce | |
| parent | 88c22e566d0e0e1997edb6ac5f51a7818366d6cd (diff) | |
| download | meta-openembedded-8c9adcfadb5fd99335f5b18059f49357e39736af.tar.gz | |
xfce4-screensaver: Make libpam and systemd dependencies conditional
libpam and systemd require the settings below:
INIT_MANAGER = "systemd"
DISTRO_FEATURES:append = " pam systemd usrmerge"
So remove hardcoded libpam and systemd dependencies from DEPENDS.
Add conditional logic to include these dependencies only when
the corresponding DISTRO_FEATURES are enabled.
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-xfce')
| -rw-r--r-- | meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb b/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb index b95bfc170c..2136892c4e 100644 --- a/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb +++ b/meta-xfce/recipes-apps/xfce4-screensaver/xfce4-screensaver_4.20.2.bb | |||
| @@ -10,7 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
| 10 | XFCE_COMPRESS_TYPE = "xz" | 10 | XFCE_COMPRESS_TYPE = "xz" |
| 11 | XFCEBASEBUILDCLASS = "meson" | 11 | XFCEBASEBUILDCLASS = "meson" |
| 12 | 12 | ||
| 13 | DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3 libpam systemd" | 13 | DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3" |
| 14 | |||
| 15 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'authentication-scheme', '', d)} \ | ||
| 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'session-manager', '', d)} \ | ||
| 17 | " | ||
| 18 | PACKAGECONFIG[authentication-scheme] = ", -Dauthentication-scheme=none, libpam," | ||
| 19 | PACKAGECONFIG[session-manager] = ", -Dsession-manager=none, systemd," | ||
| 14 | 20 | ||
| 15 | inherit xfce-app | 21 | inherit xfce-app |
| 16 | 22 | ||
