# HG changeset patch # User Hans-G?nter Theisgen # Date 1656509746 -3600 # Node ID adcf8ba4b15af5febd19669c0027a3d3c989a328 # Parent 86267c34e70eaf8b31927752f4a4b1487a68741c updated pjsip and pjsip-dev (2.8 -> 2.11.1) diff -r 86267c34e70e -r adcf8ba4b15a pjsip-dev/receipt --- a/pjsip-dev/receipt Wed Jun 29 14:23:31 2022 +0100 +++ b/pjsip-dev/receipt Wed Jun 29 14:35:46 2022 +0100 @@ -1,21 +1,20 @@ # SliTaz package receipt. PACKAGE="pjsip-dev" -VERSION="2.8" +VERSION="2.11.1" CATEGORY="development" -SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE, developement files." +SHORT_DESC="Library SIP, SDP, RTP, STUN, TURN, and ICE - developement files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.pjsip.org/" -WANTED="pjsip" DEPENDS="pjsip pkg-config" +WANTED="pjsip" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r 86267c34e70e -r adcf8ba4b15a pjsip/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pjsip/description.txt Wed Jun 29 14:35:46 2022 +0100 @@ -0,0 +1,19 @@ +PJSIP is a free and open source multimedia communication library +written in C language implementing standard based protocols such +as SIP, SDP, RTP, STUN, TURN, and ICE. +It combines signaling protocol (SIP) with rich multimedia framework +and NAT traversal functionality into high level API that is portable +and suitable for almost any type of systems ranging from desktops, +embedded systems, to mobile handsets. + +PJSIP is both compact and feature rich. +It supports audio, video, presence, and instant messaging, and has +extensive documentation. PJSIP is very portable. +On mobile devices, it abstracts system dependent features and in +many cases is able to utilize the native multimedia capabilities of +the device. + +PJSIP has been developed by a small team working exclusively for the +project since 2005, with participation of hundreds of developers +from around the world, and is routinely tested at SIP Interoperability +Event (SIPit ) since 2007. diff -r 86267c34e70e -r adcf8ba4b15a pjsip/receipt --- a/pjsip/receipt Wed Jun 29 14:23:31 2022 +0100 +++ b/pjsip/receipt Wed Jun 29 14:35:46 2022 +0100 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="pjsip" -SOURCE="pjproject" -VERSION="2.8" +VERSION="2.11.1" CATEGORY="network" SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.pjsip.org/" +REPOLOGY="pjproject" + +SOURCE="pjproject" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://www.pjsip.org/" -WGET_URL="https://github.com/pjsip/pjproject/archive/refs/tags/$VERSION.tar.gz" +WGET_URL="https://github.com/$PACKAGE/$SOURCE/archive/$VERSION.tar.gz" DEPENDS="libssl opus" -BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev" +BUILD_DEPENDS="alsa-lib-dev openssl-dev opus-dev python-dev" # What is the latest version available today? current_version() @@ -24,17 +26,36 @@ # Rules to configure and make the package. compile_rules() { - ./configure --prefix=/usr \ - --enable-shared --disable-static --enable-memalign-hack \ - --disable-sound --disable-sdl --disable-v4l2 \ - --disable-ffmpeg --disable-openh264 --disable-libyuv \ - --disable-speex-aec --disable-bcg729 --disable-l16-codec \ - --disable-g722-codec --disable-g7221-codec --disable-opencore-amr \ - --disable-silk --disable-video --disable-ext-sound --disable-ipp \ - --without-external-pa --without-external-srtp --disable-resample \ - --disable-libwebrtc --enable-epoll $CONFIGURE_ARGS && - make -j 1 && - make DESTDIR=$DESTDIR install + ./configure \ + --prefix=/usr \ + --enable-shared \ + --disable-static \ + --enable-memalign-hack \ + --disable-sound \ + --disable-sdl \ + --disable-v4l2 \ + --disable-ffmpeg \ + --disable-openh264 \ + --disable-libyuv \ + --disable-speex-aec \ + --disable-bcg729 \ + --disable-l16-codec \ + --disable-g722-codec \ + --disable-g7221-codec \ + --disable-opencore-amr \ + --disable-silk \ + --disable-video \ + --disable-ext-sound \ + --disable-ipp \ + --without-external-pa \ + --without-external-srtp \ + --disable-resample \ + --disable-libwebrtc \ + --enable-epoll \ + $CONFIGURE_ARGS && + make && + make install DESTDIR=$DESTDIR + cd pjsip-apps/src/py_pjsua python setup.py install --root=$DESTDIR } @@ -42,6 +63,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }