ports/contrib (3.4): pjsip: 2.4 -> 2.6
commit 3b10d0b03395896e6b6f80cb0c93b9cc3a71f24f Author: Alan Mizrahi <alan at mizrahi dot com dot ve> Date: Wed Oct 3 18:16:57 2018 +0900 pjsip: 2.4 -> 2.6 diff --git a/pjsip/.footprint b/pjsip/.footprint index 8a14127e..0be04007 100644 --- a/pjsip/.footprint +++ b/pjsip/.footprint @@ -51,6 +51,8 @@ drwxr-xr-x root/root usr/include/pj/compat/ -rw-r--r-- root/root usr/include/pj/compat/os_symbian.h -rw-r--r-- root/root usr/include/pj/compat/os_win32.h -rw-r--r-- root/root usr/include/pj/compat/os_win32_wince.h +-rw-r--r-- root/root usr/include/pj/compat/os_winphone8.h +-rw-r--r-- root/root usr/include/pj/compat/os_winuwp.h -rw-r--r-- root/root usr/include/pj/compat/rand.h -rw-r--r-- root/root usr/include/pj/compat/setjmp.h -rw-r--r-- root/root usr/include/pj/compat/size_t.h @@ -151,6 +153,7 @@ drwxr-xr-x root/root usr/include/pjmedia-codec/ -rw-r--r-- root/root usr/include/pjmedia-codec/l16.h -rw-r--r-- root/root usr/include/pjmedia-codec/opencore_amr.h -rw-r--r-- root/root usr/include/pjmedia-codec/openh264.h +-rw-r--r-- root/root usr/include/pjmedia-codec/opus.h -rw-r--r-- root/root usr/include/pjmedia-codec/passthrough.h -rw-r--r-- root/root usr/include/pjmedia-codec/silk.h -rw-r--r-- root/root usr/include/pjmedia-codec/speex.h @@ -165,6 +168,7 @@ drwxr-xr-x root/root usr/include/pjmedia-videodev/ -rw-r--r-- root/root usr/include/pjmedia.h drwxr-xr-x root/root usr/include/pjmedia/ -rw-r--r-- root/root usr/include/pjmedia/alaw_ulaw.h +-rw-r--r-- root/root usr/include/pjmedia/audiodev.h -rw-r--r-- root/root usr/include/pjmedia/avi.h -rw-r--r-- root/root usr/include/pjmedia/avi_stream.h -rw-r--r-- root/root usr/include/pjmedia/bidirectional.h @@ -221,6 +225,7 @@ drwxr-xr-x root/root usr/include/pjmedia/ -rw-r--r-- root/root usr/include/pjmedia/vid_port.h -rw-r--r-- root/root usr/include/pjmedia/vid_stream.h -rw-r--r-- root/root usr/include/pjmedia/vid_tee.h +-rw-r--r-- root/root usr/include/pjmedia/videodev.h -rw-r--r-- root/root usr/include/pjmedia/wav_playlist.h -rw-r--r-- root/root usr/include/pjmedia/wav_port.h -rw-r--r-- root/root usr/include/pjmedia/wave.h diff --git a/pjsip/.signature b/pjsip/.signature index 10407079..38a8a590 100644 --- a/pjsip/.signature +++ b/pjsip/.signature @@ -1,5 +1,5 @@ -untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF390GQFhNawwvtQU6qA5f7dTj5xRWBqud1eZ5PIKWehPxLelvpVXGTNDMkoiejRaasIHaTgmklvAgQpJOgu7Fwww= -SHA256 (Pkgfile) = 80a0999febd4f00a4f4aab9de0bc6cf478607862af7eebbfaf41f2808531ea83 -SHA256 (.footprint) = 597ecfdc245845c88fbc9b7a64f5d4f4fddd12588083cea6afe337243726f686 -SHA256 (pjproject-2.4.tar.bz2) = 108015aeda8dce20d182ec9b4fc277026d2b1796e82947da106eeb406eb02059 +untrusted comment: verify with /etc/ports/alan.pub +RWSHHtGdlW9unDIJLWFcsmBktbTmqmhOib1C6vnWe6N5P9cr97RBLDULtK1NMo9LFPpQiDvIKyRwfHRi2re2iVRCDbdassv5DAo= +SHA256 (Pkgfile) = e7e68e14063d1bb3dde15588e7656ca88aa7c9d422900872d941314e554a22d3 +SHA256 (.footprint) = 9bab0026002d0ba7da5ccfe4902df32b83a1fea899b0d47431a591ab5a1e62d6 +SHA256 (pjproject-2.6.tar.bz2) = 2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4 diff --git a/pjsip/Pkgfile b/pjsip/Pkgfile index 5e27f2e6..93d5df66 100644 --- a/pjsip/Pkgfile +++ b/pjsip/Pkgfile @@ -4,23 +4,32 @@ # Depends on: libsrtp name=pjsip -version=2.4 +version=2.6 release=1 -source=(http://www.pjsip.org/release/$version/pjproject-$version.tar.bz2) +source=( +http://www.pjsip.org/release/$version/pjproject-$version.tar.bz2 +) # Related ports: -# pjsua: just the user-agent -# pjsip: just what asterisk needs for res_pjsip.so and friends -# pjproject: libraries and user-agents with everything +# pjsua: Standalone user-agent. +# pjsip: The minimum that asterisk needs for res_pjsip.so and friends. Dynamic libraries. +# pjproject: Libraries with most things enabled. Static and dynamic libraries. build() { cd pjproject-$version export CFLAGS="$CFLAGS -DNDEBUG" + # webrtc requires SSE2 (disabled temporarily) + if [ '' -a -n "$(grep '\bsse2\b' /proc/cpuinfo)" ]; then + webrtc="--enable-libwebrtc" + else + webrtc="--disable-libwebrtc" + fi + ./configure \ - --enable-shared \ --prefix=/usr \ + --enable-shared \ --disable-gsm-codec \ --with-external-srtp \ --disable-g7221-codec \ @@ -31,7 +40,8 @@ build() { --disable-sound \ --disable-speex-codec \ --disable-speex-aec \ - --disable-video + --disable-video \ + $webrtc make dep make
participants (1)
-
crux@crux.nu