2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-07 12:43:12 +02:00
|
|
|
#
|
|
|
|
# linphone
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-07 12:43:12 +02:00
|
|
|
|
2020-11-17 21:17:03 +01:00
|
|
|
LINPHONE_VERSION = 4.4.8
|
2020-03-13 22:50:15 +01:00
|
|
|
LINPHONE_SITE = \
|
|
|
|
https://gitlab.linphone.org/BC/public/liblinphone/-/archive/$(LINPHONE_VERSION)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINPHONE_CONF_OPTS = \
|
2020-03-13 22:50:15 +01:00
|
|
|
-DENABLE_ADVANCED_IM=OFF \
|
|
|
|
-DENABLE_CXX_WRAPPER=OFF \
|
|
|
|
-DENABLE_DB_STORAGE=OFF \
|
|
|
|
-DENABLE_LIME=OFF \
|
|
|
|
-DENABLE_LIME_X3DH=OFF \
|
|
|
|
-DENABLE_STRICT=OFF \
|
|
|
|
-DENABLE_TOOLS=OFF \
|
|
|
|
-DENABLE_TUTORIALS=OFF \
|
|
|
|
-DENABLE_UNIT_TESTS=OFF \
|
|
|
|
-DENABLE_VCARD=OFF \
|
2020-11-17 21:17:03 +01:00
|
|
|
-DENABLE_VIDEO=OFF \
|
|
|
|
-DGIT_EXECUTABLE=OFF
|
2015-04-02 22:19:28 +02:00
|
|
|
LINPHONE_INSTALL_STAGING = YES
|
2020-03-13 22:50:15 +01:00
|
|
|
LINPHONE_DEPENDENCIES = \
|
|
|
|
belle-sip \
|
|
|
|
belr \
|
|
|
|
libxml2 \
|
|
|
|
mediastreamer \
|
|
|
|
sqlite \
|
|
|
|
$(if $(BR2_PACKAGE_ZLIB),zlib)
|
|
|
|
LINPHONE_LICENSE = GPL-3.0+
|
|
|
|
LINPHONE_LICENSE_FILES = LICENSE.txt
|
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF
|
|
|
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
|
|
LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON
|
|
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
|
|
LINPHONE_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON
|
2017-11-26 22:26:40 +01:00
|
|
|
endif
|
|
|
|
|
2020-03-13 22:50:15 +01:00
|
|
|
$(eval $(cmake-package))
|