Files
asterisk/third-party/pjproject/Makefile.rules
George Joseph b2fd7e5069 pjproject_bundled: Use the asterisk github mirror for download
We now mirror the pjproject tarball and md5 at
https://github.com/asterisk/third-party/tree/master/pjproject

To improve download reliability, we now get the tarball from
our mirror instead of from pjsip.org.

ASTERISK-27052 #close
Reported-by: 'alex'

Change-Id: I60236587a8935bfa71fcc391f4e2ecb31918c08a
2017-06-13 10:52:29 -05:00

39 lines
1021 B
Makefile

PJPROJECT_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
--disable-speex-codec \
--disable-speex-aec \
--disable-speex-aec \
--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 \
--without-external-webrtc
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