diff --git a/debian/control b/debian/control index 160d38c0..641375cf 100644 --- a/debian/control +++ b/debian/control @@ -1,48 +1,48 @@ Source: python3-sipsimple Section: python Priority: optional Maintainer: Adrian Georgescu Uploaders: Tijmen de Mes Build-Depends: debhelper (>= 11), python3, dh-python, python3-all-dev, - cython3-legacy, + cython3, libasound2-dev, python3-dateutil, python3-dnspython, libssl-dev, libv4l-dev, libavcodec-dev, libavformat-dev, libopencore-amrnb-dev, libopencore-amrwb-dev, libavutil-dev, libswscale-dev, libx264-dev, libvpx-dev, libopus-dev, libsqlite3-dev, pkg-config, uuid-dev Standards-Version: 4.5.0 Homepage: https://sipsimpleclient.org Package: python3-sipsimple Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python3-application, python3-dateutil, python3-dnspython, python3-eventlib, python3-gevent, python3-gnutls, python3-lxml, python3-msrplib, python3-twisted, python3-xcaplib Suggests: libavahi-compat-libdnssd1, python3-otr Provides: ${python3:Provides} Description: SIP SIMPLE SDK is a Python library for desktop operating systems designed for the development of real time communications applications based on SIP protocol and related media like audio, video, messaging, file transfers, desktop sharing and presence. diff --git a/get_dependencies.sh b/get_dependencies.sh index a5fbb36a..75b6cc2f 100755 --- a/get_dependencies.sh +++ b/get_dependencies.sh @@ -1,83 +1,83 @@ #!/bin/bash unamestr=$(uname) if [[ "$unamestr" == 'Linux' ]]; then sudo apt install python3 dh-python python3-all-dev cython3 libasound2-dev \ python3-dateutil python3-dnspython libssl-dev libv4l-dev libavcodec-dev \ libavformat-dev libopencore-amrnb-dev libopencore-amrwb-dev libavutil-dev \ libswscale-dev libx264-dev libvpx-dev libopus-dev libsqlite3-dev pkg-config \ -uuid-dev cython cython-dbg python3-setuptools devscripts debhelper dh-python \ +uuid-dev cython3 cython3-dbg python3-setuptools devscripts debhelper dh-python \ python3-all-dev python3-all-dbg libasound2-dev libssl-dev libsqlite3-dev fi cd deps # # Update PJSIP # echo "Preparing PJSIP sources..." if [ ! -f 2.10.tar.gz ]; then echo Downloading PJSIP 2.10... wget https://github.com/pjsip/pjproject/archive/2.10.tar.gz if [ $? -eq 0 ]; then echo "PJSIP downloaded" else echo Fail to download PJSIP exit 1 fi fi tar xzf 2.10.tar.gz if [ -d pjsip ]; then rm -r pjsip fi mkdir pjsip mv pjproject*/* ./pjsip/ # # Update ZSRTP # # Clone latest version from github if [ ! -d ZRTPCPP ]; then echo Downloading ZRTP... git clone https://github.com/wernerd/ZRTPCPP.git if [ $? -eq 0 ]; then echo "ZRTP downloaded" cd ZRTPCPP git checkout 6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03 cd .. else echo Fail to download ZRTP exit 1 fi fi # Copy wrapper from old version to third_party/zsrtp/ echo "Preparing ZRTP sources..." mkdir ./pjsip/third_party/zsrtp cp -r zsrtp/include ./pjsip/third_party/zsrtp/ cp -r zsrtp/srtp ./pjsip/third_party/zsrtp/ cp -r zsrtp/build ./pjsip/third_party/build/zsrtp # Copy new version to third_party/zsrtp/ mkdir ./pjsip/third_party/zsrtp/zrtp cp -r ZRTPCPP/bnlib ./pjsip/third_party/zsrtp/zrtp/ cp -r ZRTPCPP/common ./pjsip/third_party/zsrtp/zrtp/ cp -r ZRTPCPP/cryptcommon ./pjsip/third_party/zsrtp/zrtp/ cp -r ZRTPCPP/srtp ./pjsip/third_party/zsrtp/zrtp/ cp -r ZRTPCPP/zrtp ./pjsip/third_party/zsrtp/zrtp/ cp ZRTPCPP/COPYING ./pjsip/third_party/zsrtp/zrtp/ cp ZRTPCPP/README.md ./pjsip/third_party/zsrtp/zrtp/ for p in patches/0*.patch; do echo "Applying patch $p" patch -p0 < $p > /dev/null done cd - > /dev/null