2018-07-31 10:09:48 +02:00
|
|
|
|
# Tanım: SavoirFaire Linux'tan (çoğunlukla GnuTLS desteği) yamalarla oluşturulan açık kaynaklı SIP yığını ve ortam yığını
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# URL: http://www.pjsip.org/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: gnutls portaudio speex alsa-lib libsamplerate ffmpeg libsrtp opus gsm libsrtp
|
2018-07-31 10:09:48 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=pjproject-ring
|
|
|
|
|
_isim=pjproject
|
|
|
|
|
surum=2.6
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://www.pjsip.org/release/2.6/$_name-$surum.tar.bz2
|
|
|
|
|
endianness.patch
|
|
|
|
|
gnutls.patch
|
|
|
|
|
notestsapps.patch
|
|
|
|
|
fix_base64.patch
|
|
|
|
|
ipv6.patch
|
|
|
|
|
ice_config.patch
|
|
|
|
|
multiple_listeners.patch
|
|
|
|
|
pj_ice_sess.patch
|
|
|
|
|
fix_turn_fallback.patch
|
|
|
|
|
fix_ioqueue_ipv6_sendto.patch
|
|
|
|
|
add_dtls_transport.patch)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd "${SRC}/${_name}-${surum}"
|
|
|
|
|
|
|
|
|
|
for patch in endianness.patch gnutls.patch notestsapps.patch fix_base64.patch \
|
|
|
|
|
ipv6.patch ice_config.patch multiple_listeners.patch \
|
|
|
|
|
pj_ice_sess.patch fix_turn_fallback.patch \
|
|
|
|
|
fix_ioqueue_ipv6_sendto.patch add_dtls_transport.patch
|
|
|
|
|
|
|
|
|
|
do
|
|
|
|
|
patch -p1 < ../"$patch"
|
|
|
|
|
done
|
|
|
|
|
cd "${SRC}/${_name}-${surum}"
|
|
|
|
|
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC -DPJSIP_MAX_PKT_LEN=8000"
|
|
|
|
|
export CFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--enable-ssl=gnutls \
|
|
|
|
|
--with-external-speex \
|
|
|
|
|
--with-external-srtp \
|
|
|
|
|
--with-external-pa \
|
|
|
|
|
--with-external-gsm \
|
|
|
|
|
--enable-ext-sound \
|
|
|
|
|
--disable-oss \
|
|
|
|
|
--disable-opencore-amr \
|
|
|
|
|
--disable-v4l2 \
|
|
|
|
|
--disable-video \
|
|
|
|
|
--disable-sound
|
|
|
|
|
|
|
|
|
|
make dep
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR="${PKG}" install
|
|
|
|
|
|
|
|
|
|
}
|