kumquat-buildroot/package/ortp/ortp.mk
Fabrice Fontaine d84aa91ae5 package/ortp: bump to version 4.3.1
- License is GPL-3.0+ since version 4.3.0 and
  6b92536858
- Switch to cmake-package

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-08 16:29:44 +01:00

26 lines
754 B
Makefile

################################################################################
#
# ortp
#
################################################################################
ORTP_VERSION = 4.3.1
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))