From 230bbfc22068ae607f3706460c85d3a2886b9634 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 4 Aug 2022 22:46:55 +0200 Subject: [PATCH] package/weston: add option to build seatd-based launcher Since version 10, the weston-launch command has been deprecated, and can only be built with -Ddeprecated-weston-launch=true, which Buildroot does not do. So the only launcher currently available is logind, provided by systemd. But weston provides an alternate way, based on the seatd daemon. This commit enables this possibility by adding an optional dependency on BR2_PACKAGE_SEATD and using -Dlauncher-libseat=true. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- package/weston/weston.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 76df9bf2dd..e6c54ee7aa 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -35,6 +35,13 @@ else WESTON_CONF_OPTS += -Dlauncher-logind=false endif +ifeq ($(BR2_PACKAGE_SEATD),y) +WESTON_CONF_OPTS += -Dlauncher-libseat=true +WESTON_DEPENDENCIES += seatd +else +WESTON_CONF_OPTS += -Dlauncher-libseat=false +endif + ifeq ($(BR2_PACKAGE_JPEG),y) WESTON_CONF_OPTS += -Dimage-jpeg=true WESTON_DEPENDENCIES += jpeg