2020-02-27 18:47:13 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# belr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-11-17 21:17:00 +01:00
|
|
|
BELR_VERSION = 4.4.8
|
2020-02-27 18:47:13 +01:00
|
|
|
BELR_SITE = https://gitlab.linphone.org/BC/public/belr/-/archive/$(BELR_VERSION)
|
|
|
|
BELR_LICENSE = GPL-3.0+
|
|
|
|
BELR_LICENSE_FILES = LICENSE.txt
|
|
|
|
BELR_INSTALL_STAGING = YES
|
|
|
|
BELR_DEPENDENCIES = bctoolbox
|
|
|
|
BELR_CONF_OPTS = \
|
|
|
|
-DENABLE_STRICT=OFF \
|
|
|
|
-DENABLE_TESTS=OFF \
|
|
|
|
-DENABLE_TOOLS=OFF
|
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
|
2022-04-10 19:24:03 +02:00
|
|
|
else
|
|
|
|
# cannot build static and shared together
|
2020-02-27 18:47:13 +01:00
|
|
|
BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|