package/weston: enable libseat launcher if seatd is enabled
authorAdrian Perez de Castro <aperez@igalia.com>
Thu, 27 May 2021 13:35:03 +0000 (16:35 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 16 Jun 2021 19:36:24 +0000 (21:36 +0200)
Enable building Weston's libseat launcher, now that the seatd package
is available.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/weston/weston.mk

index 6dd5439291abbdbbc6bd363860e83b779e6c4536..69ee11d23cde3a58f06004315fbf62868baf22ef 100644 (file)
@@ -26,6 +26,13 @@ else
 WESTON_CONF_OPTS += -Dsimple-clients=
 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_DBUS)$(BR2_PACKAGE_SYSTEMD),yy)
 WESTON_CONF_OPTS += -Dlauncher-logind=true
 WESTON_DEPENDENCIES += dbus systemd