PKG_LICENSE:=AFL-2.1
PKG_CPE_ID:=cpe:/a:freedesktop:dbus
+PKG_CONFIG_DEPENDS:= \
+ CONFIG_DBUS_VERBOSE
+
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
This package contains D-Bus utilities.
endef
+define Package/dbus/config
+ source "$(SOURCE)/Config.in"
+endef
+
CMAKE_OPTIONS += \
-DDBUS_SYSTEM_SOCKET=/var/run/dbus/system_bus_socket \
-DDBUS_SESSION_SOCKET_DIR=/tmp \
-DDBUS_ENABLE_QTHELP_DOCS=OFF \
-DDBUS_ENABLE_XML_DOCS=OFF
+ifeq ($(CONFIG_DBUS_VERBOSE),y)
+ CMAKE_OPTIONS += -DDBUS_ENABLE_VERBOSE_MODE=ON
+endif
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/dbus-1.0 $(1)/usr/include/