mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
seatd: add PACKAGECONFIG to run standalone
This commit is contained in:
parent
2c94386117
commit
3fcf03e501
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user