kumquat-buildroot/package/paho-mqtt-cpp/paho-mqtt-cpp.mk
Lang Daniel 250f33d0ff package/paho-mqtt-cpp: bump version to 1.2.0
"This release brings in some missing MQTT v5 features, support for
websocket headers and proxies, ALPN protocol lists, adds the builder
pattern for options, and fixes a number of bugs in both the C++ library
and the underlying C lib."

https://github.com/eclipse/paho.mqtt.cpp/releases/tag/v1.2.0

This also makes the patch obsolete, since these changes have been merged upstream.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-08-04 22:11:39 +02:00

36 lines
1.0 KiB
Makefile

################################################################################
#
# paho-mqtt-cpp
#
################################################################################
PAHO_MQTT_CPP_VERSION = 1.2.0
PAHO_MQTT_CPP_SITE = $(call github,eclipse,paho.mqtt.cpp,v$(PAHO_MQTT_CPP_VERSION))
PAHO_MQTT_CPP_LICENSE = EPL-1.0 or BSD-3-Clause
PAHO_MQTT_CPP_LICENSE_FILES = epl-v10 edl-v10
PAHO_MQTT_CPP_INSTALL_STAGING = YES
PAHO_MQTT_CPP_DEPENDENCIES = paho-mqtt-c
ifeq ($(BR2_PACKAGE_OPENSSL),y)
PAHO_MQTT_CPP_DEPENDENCIES += openssl
PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=TRUE
else
PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=FALSE
endif
ifeq ($(BR2_SHARED_LIBS),y)
PAHO_MQTT_CPP_CONF_OPTS += \
-DPAHO_BUILD_SHARED=TRUE \
-DPAHO_BUILD_STATIC=FALSE
else ifeq ($(BR2_STATIC_LIBS),y)
PAHO_MQTT_CPP_CONF_OPTS += \
-DPAHO_BUILD_SHARED=FALSE \
-DPAHO_BUILD_STATIC=TRUE
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
PAHO_MQTT_CPP_CONF_OPTS += \
-DPAHO_BUILD_SHARED=TRUE \
-DPAHO_BUILD_STATIC=TRUE
endif
$(eval $(cmake-package))