mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
@@ -10,7 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
XFCE_COMPRESS_TYPE = "xz"
|
||||
XFCEBASEBUILDCLASS = "meson"
|
||||
|
||||
DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3 libpam systemd"
|
||||
DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'authentication-scheme', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'session-manager', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[authentication-scheme] = ", -Dauthentication-scheme=none, libpam,"
|
||||
PACKAGECONFIG[session-manager] = ", -Dsession-manager=none, systemd,"
|
||||
|
||||
inherit xfce-app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user