seatd: add PACKAGECONFIG to run standalone

This commit is contained in:
Markus Volk 2021-06-27 11:03:45 +02:00
parent 2c94386117
commit 3fcf03e501

View File

@ -8,12 +8,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a"
SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https" SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https"
PACKAGECONFIG[systemd] = ",,systemd" # On systems without logind/elogind, you need to suid the sway binary.
PACKAGECONFIG[sysvinit] = ",,elogind" # Sway will drop root permissions shortly after startup.
PACKAGECONFIG[logind] = ",,systemd"
PACKAGECONFIG[elogind] = ",,elogind"
PACKAGECONFIG[standalone] = "-Dbuiltin=enabled,-Dbuiltin=disabled"
PACKAGECONFIG ?= " \ PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ logind \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"