2017-10-17 10:53:52 -05:00
|
|
|
# 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.
|
2018-07-16 16:08:20 -04:00
|
|
|
# PACKAGE_URL ?= http://www.pjsip.org/release/$(PJPROJECT_VERSION)
|
2017-10-17 10:53:52 -05:00
|
|
|
|
2018-07-16 16:08:20 -04:00
|
|
|
PACKAGE_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
|
|
|
|
|
TARBALL_FILE = pjproject-$(PJPROJECT_VERSION).tar.bz2
|
2016-01-18 20:54:28 -07:00
|
|
|
|
2017-06-30 07:31:52 -06:00
|
|
|
# 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).
|
2016-01-18 20:54:28 -07:00
|
|
|
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
|
2016-07-17 17:28:36 -06:00
|
|
|
|
2017-06-30 07:31:52 -06:00
|
|
|
PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
|
2016-07-17 17:28:36 -06:00
|
|
|
--disable-speex-codec \
|
|
|
|
|
--disable-speex-aec \
|
2018-02-12 13:16:00 +01:00
|
|
|
--disable-bcg729 \
|
2016-07-17 17:28:36 -06:00
|
|
|
--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 \
|
2017-04-26 07:45:31 -06:00
|
|
|
--disable-libwebrtc \
|
2016-07-17 17:28:36 -06:00
|
|
|
--without-external-pa \
|
2017-12-04 00:49:14 +00:00
|
|
|
--without-external-srtp
|
2016-04-30 16:52:47 -06:00
|
|
|
|
2018-11-16 07:20:11 -05:00
|
|
|
ifneq ($(AST_DEVMODE),yes)
|
2016-11-03 10:55:06 -06:00
|
|
|
PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
|
|
|
|
|
endif
|
|
|
|
|
|
2016-04-30 16:52:47 -06:00
|
|
|
ifeq ($(shell uname -s),Linux)
|
2016-10-31 15:12:57 -06:00
|
|
|
PJPROJECT_CONFIG_OPTS += --enable-epoll
|
2016-04-30 16:52:47 -06:00
|
|
|
endif
|