summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
authorWenlin Kang <wenlin.kang@windriver.com>2026-04-23 12:56:51 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-23 07:54:07 -0700
commit8c9adcfadb5fd99335f5b18059f49357e39736af (patch)
treeffa2fde11403ce56b55d3b7e0453effa66f56b9f /meta-xfce
parent88c22e566d0e0e1997edb6ac5f51a7818366d6cd (diff)
downloadmeta-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.bb8
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 \
10XFCE_COMPRESS_TYPE = "xz" 10XFCE_COMPRESS_TYPE = "xz"
11XFCEBASEBUILDCLASS = "meson" 11XFCEBASEBUILDCLASS = "meson"
12 12
13DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3 libpam systemd" 13DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3"
14
15PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'authentication-scheme', '', d)} \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'session-manager', '', d)} \
17"
18PACKAGECONFIG[authentication-scheme] = ", -Dauthentication-scheme=none, libpam,"
19PACKAGECONFIG[session-manager] = ", -Dsession-manager=none, systemd,"
14 20
15inherit xfce-app 21inherit xfce-app
16 22