polikt: add elogind packageconfig option

Add elogind package config option.

Also make sure the systemd, consolekit and elogind options are
mutually exclusive (as defined in the meson_options.txt file).

Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
This commit is contained in:
Marc Ferland 2024-07-22 22:41:50 -04:00 committed by Khem Raj
parent fb34082702
commit d75f2277f2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -25,8 +25,9 @@ PACKAGECONFIG = " \
PACKAGECONFIG[dbus] = ",,dbus"
PACKAGECONFIG[gtk-doc] = "-Dgtk_doc=true,-Dgtk_doc=false,gtk-doc-native"
PACKAGECONFIG[pam] = "-Dauthfw=pam,-Dauthfw=shadow,libpam,libpam"
PACKAGECONFIG[systemd] = "-Dsession_tracking=libsystemd-login,-Dsession_tracking=ConsoleKit,systemd"
PACKAGECONFIG[consolekit] = ",,,consolekit"
PACKAGECONFIG[systemd] = "-Dsession_tracking=libsystemd-login,,systemd,,,consolekit elogind"
PACKAGECONFIG[consolekit] = "-Dsession_tracking=ConsoleKit,,,consolekit,,systemd elogind"
PACKAGECONFIG[elogind] = "-Dsession_tracking=libelogin,,elogind,,,systemd consolekit"
# Default to mozjs javascript library
PACKAGECONFIG[mozjs] = "-Djs_engine=mozjs,,mozjs-115,,,duktape"