|
@@ -4,11 +4,10 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-LIBPJSIP_VERSION = 2.12.1
|
|
|
|
|
|
+LIBPJSIP_VERSION = 2.13
|
|
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz
|
|
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz
|
|
LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION))
|
|
LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION))
|
|
|
|
|
|
-LIBPJSIP_DEPENDENCIES = libsrtp
|
|
|
|
LIBPJSIP_LICENSE = GPL-2.0+
|
|
LIBPJSIP_LICENSE = GPL-2.0+
|
|
LIBPJSIP_LICENSE_FILES = COPYING
|
|
LIBPJSIP_LICENSE_FILES = COPYING
|
|
LIBPJSIP_CPE_ID_VENDOR = teluu
|
|
LIBPJSIP_CPE_ID_VENDOR = teluu
|
|
@@ -16,9 +15,6 @@ LIBPJSIP_CPE_ID_PRODUCT = pjsip
|
|
LIBPJSIP_INSTALL_STAGING = YES
|
|
LIBPJSIP_INSTALL_STAGING = YES
|
|
LIBPJSIP_MAKE = $(MAKE1)
|
|
LIBPJSIP_MAKE = $(MAKE1)
|
|
|
|
|
|
-# 0001-Merge-pull-request-from-GHSA-26j7-ww69-c4qj.patch
|
|
|
|
-LIBPJSIP_IGNORE_CVES += CVE-2022-31031
|
|
|
|
-
|
|
|
|
LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1
|
|
LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1
|
|
|
|
|
|
# relocation truncated to fit: R_68K_GOT16O
|
|
# relocation truncated to fit: R_68K_GOT16O
|
|
@@ -40,8 +36,7 @@ LIBPJSIP_CONF_OPTS = \
|
|
--disable-l16-codec \
|
|
--disable-l16-codec \
|
|
--disable-g722-codec \
|
|
--disable-g722-codec \
|
|
--disable-ipp \
|
|
--disable-ipp \
|
|
- --disable-silk \
|
|
|
|
- --with-external-srtp
|
|
|
|
|
|
+ --disable-silk
|
|
|
|
|
|
# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will
|
|
# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will
|
|
# both enable it. But that's OK, epoll is better than the alternative,
|
|
# both enable it. But that's OK, epoll is better than the alternative,
|
|
@@ -103,6 +98,22 @@ else
|
|
LIBPJSIP_CONF_OPTS += --disable-libsamplerate
|
|
LIBPJSIP_CONF_OPTS += --disable-libsamplerate
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBSRTP),y)
|
|
|
|
+LIBPJSIP_DEPENDENCIES += libsrtp
|
|
|
|
+LIBPJSIP_CONF_OPTS += \
|
|
|
|
+ --enable-libsrtp \
|
|
|
|
+ --with-external-srtp
|
|
|
|
+else
|
|
|
|
+LIBPJSIP_CONF_OPTS += --disable-libsrtp
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBUPNP),y)
|
|
|
|
+LIBPJSIP_DEPENDENCIES += libupnp
|
|
|
|
+LIBPJSIP_CONF_OPTS += --with-upnp=$(STAGING_DIR)/usr
|
|
|
|
+else
|
|
|
|
+LIBPJSIP_CONF_OPTS += --disable-upnp
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
|
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
|
# --enable-v4l2 is broken (check for libv4l2 will be omitted)
|
|
# --enable-v4l2 is broken (check for libv4l2 will be omitted)
|
|
LIBPJSIP_DEPENDENCIES += libv4l
|
|
LIBPJSIP_DEPENDENCIES += libv4l
|
|
@@ -161,6 +172,9 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
|
LIBPJSIP_DEPENDENCIES += util-linux
|
|
LIBPJSIP_DEPENDENCIES += util-linux
|
|
|
|
+LIBPJSIP_CONF_OPTS += --enable-libuuid
|
|
|
|
+else
|
|
|
|
+LIBPJSIP_CONF_OPTS += --disable-libuuid
|
|
endif
|
|
endif
|
|
|
|
|
|
# disable build of test binaries
|
|
# disable build of test binaries
|