34e029eacf
https://github.com/dbus-cxx/dbus-cxx/releases/tag/2.4.0 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
29 lines
900 B
Makefile
29 lines
900 B
Makefile
################################################################################
|
|
#
|
|
# dbus-cxx
|
|
#
|
|
################################################################################
|
|
|
|
DBUS_CXX_VERSION = 2.4.0
|
|
DBUS_CXX_SITE = $(call github,dbus-cxx,dbus-cxx,$(DBUS_CXX_VERSION))
|
|
DBUS_CXX_LICENSE = LGPL-3.0+ or BSD-3-Clause, 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))
|