![Fabrice Fontaine](/assets/img/avatar_default.png)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
754 B
Makefile
26 lines
754 B
Makefile
################################################################################
|
|
#
|
|
# ortp
|
|
#
|
|
################################################################################
|
|
|
|
ORTP_VERSION = 4.4.8
|
|
ORTP_SITE = https://gitlab.linphone.org/BC/public/ortp/-/archive/$(ORTP_VERSION)
|
|
ORTP_LICENSE = GPL-3.0+
|
|
ORTP_LICENSE_FILES = LICENSE.txt
|
|
ORTP_INSTALL_STAGING = YES
|
|
ORTP_DEPENDENCIES = bctoolbox
|
|
ORTP_CONF_OPTS = \
|
|
-DENABLE_DOC=OFF \
|
|
-DENABLE_STRICT=OFF
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
ORTP_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF
|
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
ORTP_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
ORTP_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|