diff --git a/package/wlroots/wlroots.mk b/package/wlroots/wlroots.mk index a20f6683a9..38ddba743d 100644 --- a/package/wlroots/wlroots.mk +++ b/package/wlroots/wlroots.mk @@ -22,7 +22,7 @@ WLROOTS_DEPENDENCIES = \ wayland \ wayland-protocols -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibseat=disabled +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled ifeq ($(BR2_PACKAGE_FFMPEG),y) WLROOTS_DEPENDENCIES += ffmpeg @@ -46,4 +46,11 @@ else WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled endif +ifeq ($(BR2_PACKAGE_SEATD_LIBSEAT),y) +WLROOTS_CONF_OPTS += -Dlibseat=enabled +WLROOTS_DEPENDENCIES += seatd +else +WLROOTS_CONF_OPTS += -Dlibseat=disabled +endif + $(eval $(meson-package))