kumquat-buildroot/package/dbus-cxx/dbus-cxx.mk
Lang Daniel a0fb3eed27 package/dbus-cxx: new package
DBus-cxx provides an object-oriented interface to DBus

Signed-off-by: Lang Daniel <d.lang@abatec.at>
[Arnout:
 - reorder licenses;
 - select dbus instead of depends, + propagate dependency
 - make qt5 and libglib2 integration automatic
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 15:37:51 +01:00

29 lines
882 B
Makefile

################################################################################
#
# dbus-cxx
#
################################################################################
DBUS_CXX_VERSION = 2.1.0
DBUS_CXX_SITE = $(call github,dbus-cxx,dbus-cxx,$(DBUS_CXX_VERSION))
DBUS_CXX_LICENSE = GPL-3.0, Boost license (cmake-modules), Apache 2.0 (libcppgenerate)
DBUS_CXX_LICENSE_FILES = COPYING cmake-modules/LICENSE_1_0.txt tools/libcppgenerate/LICENSE
DBUS_CXX_INSTALL_STAGING = YES
DBUS_CXX_DEPENDENCIES = libsigc
ifeq ($(BR2_PACKAGE_QT5BASE),y)
DBUS_CXX_CONF_OPTS += -DENABLE_QT_SUPPORT=ON
DBUS_CXX_DEPENDENCIES += qt5base
else
DBUS_CXX_CONF_OPTS += -DENABLE_QT_SUPPORT=OFF
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
DBUS_CXX_CONF_OPTS += -DENABLE_GLIB_SUPPORT=ON
DBUS_CXX_DEPENDENCIES += libglib2
else
DBUS_CXX_CONF_OPTS += -DENABLE_GLIB_SUPPORT=OFF
endif
$(eval $(cmake-package))