![Fabrice Fontaine](/assets/img/avatar_default.png)
Set GIT_EXECUTABLE to OFF to avoid the following build failure: CMake Error at /home/fabrice/br-test-pkg/br-arm-cortex-a9-glibc/host/arm-buildroot-linux-gnueabihf/sysroot/usr/share/bctoolbox/cmake/bctoolboxCMakeUtils.cmake:162 (message): invalid git describe version: '' Call Stack (most recent call first): CMakeLists.txt:125 (bc_compute_lib_version) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# linphone
|
|
#
|
|
################################################################################
|
|
|
|
LINPHONE_VERSION = 4.4.8
|
|
LINPHONE_SITE = \
|
|
https://gitlab.linphone.org/BC/public/liblinphone/-/archive/$(LINPHONE_VERSION)
|
|
LINPHONE_CONF_OPTS = \
|
|
-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 \
|
|
-DENABLE_VIDEO=OFF \
|
|
-DGIT_EXECUTABLE=OFF
|
|
LINPHONE_INSTALL_STAGING = YES
|
|
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
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|