mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
* pjproject is now configured with --disable-libsrtp so it will
build correctly when doing "out-of-tree" development. Asterisk
doesn't use pjproject for handling media so pjproject doesn't
need libsrtp itself.
* The pjsua app (which we used to use for the testsuite) no longer
builds in pjproject's master branch so we just skip it. The
testsuite no longer needs it anyway.
See third-party/pjproject/README-hacking.md for more info on building
pjproject "out-of-tree".
(cherry picked from commit 23218032ef
)
51 lines
1.5 KiB
Makefile
51 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.
|
|
# PACKAGE_URL ?= http://www.pjsip.org/release/$(PJPROJECT_VERSION)
|
|
|
|
PACKAGE_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
|
|
TARBALL_FILE = pjproject-$(PJPROJECT_VERSION).tar.bz2
|
|
|
|
# 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-sdl \
|
|
--disable-libyuv \
|
|
--disable-ffmpeg \
|
|
--disable-openh264 \
|
|
--disable-ipp \
|
|
--disable-libwebrtc \
|
|
--disable-libsrtp \
|
|
--disable-upnp \
|
|
--without-external-pa \
|
|
--without-external-srtp
|
|
|
|
ifneq ($(AST_DEVMODE),yes)
|
|
PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
|
|
endif
|
|
|
|
ifeq ($(shell uname -s),Linux)
|
|
PJPROJECT_CONFIG_OPTS += --enable-epoll
|
|
endif
|