wok rev 25142

updated pjsip and pjsip-dev (2.8 -> 2.11.1)
author Hans-G?nter Theisgen
date Wed Jun 29 14:35:46 2022 +0100 (22 months ago)
parents 86267c34e70e
children f67cd84ed581
files pjsip-dev/receipt pjsip/description.txt pjsip/receipt
line diff
     1.1 --- a/pjsip-dev/receipt	Wed Jun 29 14:23:31 2022 +0100
     1.2 +++ b/pjsip-dev/receipt	Wed Jun 29 14:35:46 2022 +0100
     1.3 @@ -1,21 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pjsip-dev"
     1.7 -VERSION="2.8"
     1.8 +VERSION="2.11.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE, developement files."
    1.11 +SHORT_DESC="Library SIP, SDP, RTP, STUN, TURN, and ICE - developement files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://www.pjsip.org/"
    1.15 -WANTED="pjsip"
    1.16  
    1.17  DEPENDS="pjsip pkg-config"
    1.18 +WANTED="pjsip"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 +	cook_copy_folders	include
    1.28 +	cook_copy_folders	pkgconfig
    1.29 +	cook_copy_files		*.*a
    1.30  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pjsip/description.txt	Wed Jun 29 14:35:46 2022 +0100
     2.3 @@ -0,0 +1,19 @@
     2.4 +PJSIP is a free and open source multimedia communication library
     2.5 +written in C language implementing standard based protocols such
     2.6 +as SIP, SDP, RTP, STUN, TURN, and ICE.
     2.7 +It combines signaling protocol (SIP) with rich multimedia framework
     2.8 +and NAT traversal functionality into high level API that is portable
     2.9 +and suitable for almost any type of systems ranging from desktops,
    2.10 +embedded systems, to mobile handsets.
    2.11 +
    2.12 +PJSIP is both compact and feature rich.
    2.13 +It supports audio, video, presence, and instant messaging, and has
    2.14 +extensive documentation. PJSIP is very portable.
    2.15 +On mobile devices, it abstracts system dependent features and in
    2.16 +many cases is able to utilize the native multimedia capabilities of
    2.17 +the device.
    2.18 +
    2.19 +PJSIP has been developed by a small team working exclusively for the
    2.20 +project since 2005, with participation of hundreds of developers
    2.21 +from around the world, and is routinely tested at SIP Interoperability
    2.22 +Event (SIPit ) since 2007.
     3.1 --- a/pjsip/receipt	Wed Jun 29 14:23:31 2022 +0100
     3.2 +++ b/pjsip/receipt	Wed Jun 29 14:35:46 2022 +0100
     3.3 @@ -1,18 +1,20 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pjsip"
     3.7 -SOURCE="pjproject"
     3.8 -VERSION="2.8"
     3.9 +VERSION="2.11.1"
    3.10  CATEGORY="network"
    3.11  SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE."
    3.12  MAINTAINER="pascal.bellard@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14 +WEB_SITE="https://www.pjsip.org/"
    3.15 +REPOLOGY="pjproject"
    3.16 +
    3.17 +SOURCE="pjproject"
    3.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    3.19 -WEB_SITE="https://www.pjsip.org/"
    3.20 -WGET_URL="https://github.com/pjsip/pjproject/archive/refs/tags/$VERSION.tar.gz"
    3.21 +WGET_URL="https://github.com/$PACKAGE/$SOURCE/archive/$VERSION.tar.gz"
    3.22  
    3.23  DEPENDS="libssl opus"
    3.24 -BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev"
    3.25 +BUILD_DEPENDS="alsa-lib-dev openssl-dev opus-dev python-dev"
    3.26  
    3.27  # What is the latest version available today?
    3.28  current_version()
    3.29 @@ -24,17 +26,36 @@
    3.30  # Rules to configure and make the package.
    3.31  compile_rules()
    3.32  {
    3.33 -	./configure --prefix=/usr \
    3.34 -		--enable-shared --disable-static --enable-memalign-hack \
    3.35 -		--disable-sound --disable-sdl --disable-v4l2 \
    3.36 -		--disable-ffmpeg --disable-openh264 --disable-libyuv \
    3.37 -		--disable-speex-aec --disable-bcg729 --disable-l16-codec \
    3.38 -		--disable-g722-codec --disable-g7221-codec --disable-opencore-amr \
    3.39 -		--disable-silk --disable-video --disable-ext-sound --disable-ipp \
    3.40 -		--without-external-pa --without-external-srtp --disable-resample \
    3.41 -		--disable-libwebrtc --enable-epoll $CONFIGURE_ARGS &&
    3.42 -	make -j 1 &&
    3.43 -	make DESTDIR=$DESTDIR install
    3.44 +	./configure			\
    3.45 +		--prefix=/usr		\
    3.46 +		--enable-shared		\
    3.47 +		--disable-static	\
    3.48 +		--enable-memalign-hack	\
    3.49 +		--disable-sound		\
    3.50 +		--disable-sdl		\
    3.51 +		--disable-v4l2		\
    3.52 +		--disable-ffmpeg	\
    3.53 +		--disable-openh264	\
    3.54 +		--disable-libyuv	\
    3.55 +		--disable-speex-aec	\
    3.56 +		--disable-bcg729	\
    3.57 +		--disable-l16-codec	\
    3.58 +		--disable-g722-codec	\
    3.59 +		--disable-g7221-codec	\
    3.60 +		--disable-opencore-amr	\
    3.61 +		--disable-silk		\
    3.62 +		--disable-video		\
    3.63 +		--disable-ext-sound	\
    3.64 +		--disable-ipp		\
    3.65 +		--without-external-pa	\
    3.66 +		--without-external-srtp	\
    3.67 +		--disable-resample	\
    3.68 +		--disable-libwebrtc	\
    3.69 +		--enable-epoll		\
    3.70 +		$CONFIGURE_ARGS &&
    3.71 +	make &&
    3.72 +	make install DESTDIR=$DESTDIR
    3.73 +
    3.74  	cd pjsip-apps/src/py_pjsua
    3.75  	python setup.py install --root=$DESTDIR
    3.76  }
    3.77 @@ -42,6 +63,5 @@
    3.78  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.79  genpkg_rules()
    3.80  {
    3.81 -	mkdir -p $fs/usr/lib
    3.82 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.83 +	cook_copy_files	*.so*
    3.84  }