From: Gustavo Zacarias Date: Tue, 29 Mar 2016 14:39:06 +0000 (-0300) Subject: weston: handle dbus dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4582f907387edca62d7edf26472c8fe79649f4da;p=buildroot.git weston: handle dbus dependency Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 363a2bf67a..72190a8c56 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -26,6 +26,13 @@ WESTON_CONF_OPTS = \ WESTON_MAKE_OPTS = \ WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols +ifeq ($(BR2_PACKAGE_DBUS),y) +WESTON_CONF_OPTS += --enable-dbus +WESTON_DEPENDENCIES += dbus +else +WESTON_CONF_OPTS += --disable-dbus +endif + # weston-launch must be u+s root in order to work properly ifeq ($(BR2_PACKAGE_LINUX_PAM),y) define WESTON_PERMISSIONS