Files
operating-system/buildroot/package/ortp/ortp.mk
Stefan Agner f358f322da Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3

* Update Buildroot to 2021.02-rc3

* Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
2021-03-04 00:50:33 +01:00

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))