Files
asterisk/third-party/pjproject/Makefile.rules
Alexander Traud b21915bd1c pjproject_bundled: Disable G.729 from Belledonne Communications.
When <http://github.com/BelledonneCommunications/bcg729> is installed, PJProject
tries to link that. Support for this bcg729 was added with PJProject 2.7. The
issue happens, because Teluu enabled that new feature on default.

ASTERISK-27584
Reported by: Stuart Henderson

Change-Id: I88b6b18ad777bcfe2d8201187b4b90eec0a172a6
2018-02-12 13:20:02 +01:00

49 lines
1.5 KiB
Makefile

# We switched download locations so Asterisk users don't bombard the Teluu
# site with download requests.
#
# For future reference when upgrading bundled PJPROJECT the next time
# PJPROJECT is released.
# Teluu's download URL.
# PJPROJECT_URL ?= http://www.pjsip.org/release/$(PJPROJECT_VERSION)
PJPROJECT_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
# PJPROJECT_CONFIGURE_OPTS could come from the command line or could be
# set/modified by configure.m4 if the build or host tuples aren't the same
# as the current build environment (cross-compile).
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
--disable-speex-codec \
--disable-speex-aec \
--disable-bcg729 \
--disable-gsm-codec \
--disable-ilbc-codec \
--disable-l16-codec \
--disable-g722-codec \
--disable-g7221-codec \
--disable-opencore-amr \
--disable-silk \
--disable-opus \
--disable-video \
--disable-v4l2 \
--disable-sound \
--disable-ext-sound \
--disable-oss \
--disable-sdl \
--disable-libyuv \
--disable-ffmpeg \
--disable-openh264 \
--disable-ipp \
--disable-libwebrtc \
--without-external-pa \
--without-external-srtp
ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
endif
ifeq ($(shell uname -s),Linux)
PJPROJECT_CONFIG_OPTS += --enable-epoll
endif