9db9a6d2b3
libpjsip bundles several third party libraries. In Buildroot we prefer either not to build them or to depend on a proper package for each of them. The current recipe disables most of them, but not all, so disable the remaining ones. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libpjsip
|
|
#
|
|
################################################################################
|
|
|
|
LIBPJSIP_VERSION = 2.4.5
|
|
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.bz2
|
|
LIBPJSIP_SITE = http://www.pjsip.org/release/$(LIBPJSIP_VERSION)
|
|
LIBPJSIP_DEPENDENCIES = libsrtp
|
|
LIBPJSIP_LICENSE = GPLv2+
|
|
LIBPJSIP_LICENSE_FILES = COPYING
|
|
LIBPJSIP_INSTALL_STAGING = YES
|
|
|
|
LIBPJSIP_CONF_ENV = \
|
|
LD="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS) -DPJ_HAS_IPV6=1"
|
|
|
|
LIBPJSIP_CONF_OPTS = \
|
|
--disable-sound \
|
|
--disable-gsm-codec \
|
|
--disable-speex-codec \
|
|
--disable-speex-aec \
|
|
--disable-resample \
|
|
--disable-video \
|
|
--disable-opencore-amr \
|
|
--disable-g7221-codec \
|
|
--disable-ilbc-codec \
|
|
--with-external-srtp=$(STAGING_DIR)/usr
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBPJSIP_DEPENDENCIES += openssl
|
|
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
|
else
|
|
LIBPJSIP_CONF_OPTS += --disable-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
|
LIBPJSIP_DEPENDENCIES += util-linux
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|