wok-6.x diff asterisk/receipt @ rev 21902

updated shaarli again (0.10.3 -> 0.11.1)
author Hans-G?nter Theisgen
date Fri Oct 04 13:14:23 2019 +0100 (2019-10-04)
parents a0fe56fb9c41
children c2bd5d258aac
line diff
     1.1 --- a/asterisk/receipt	Fri Apr 28 08:52:32 2017 +0200
     1.2 +++ b/asterisk/receipt	Fri Oct 04 13:14:23 2019 +0100
     1.3 @@ -17,7 +17,7 @@
     1.4  speex iksemel spandsp tiff radiusclient-ng nbs freetds libpostgresqlclient \
     1.5  libmysqlclient libunixODBC popt dahdi libpri lua libcap attr net-snmp \
     1.6  portaudio sqlite libkrb5 libcomerr3 libsdl libsdl-image libssl libxml2 bluez \
     1.7 -libldap libical neon util-linux-uuid"
     1.8 +libldap libical neon util-linux-uuid opus code2"
     1.9  BUILD_DEPENDS="gtk+-dev libxml2-dev postgresql-dev libsdl-dev ncurses-dev \
    1.10  gmime gmime-dev unixODBC-dev unixODBC openldap-dev openldap \
    1.11  dahdi-linux dahdi-tools dahdi-dev \
    1.12 @@ -25,7 +25,7 @@
    1.13  openssl-dev lua-dev lua libpri-dev bluez-dev bluez portaudio-dev alsa-lib-dev \
    1.14  libsdl-image-dev net-snmp iksemel libical-dev curl-dev libcap-dev iksemel-dev \
    1.15  jack-audio-connection-kit-dev radiusclient-ng-dev radiusclient-ng \
    1.16 -libvorbis-dev speex-dev"
    1.17 +libvorbis-dev speex-dev opus-dev code2-dev autoconf automake libtool"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  #
    1.21 @@ -47,13 +47,23 @@
    1.22  	busybox sed -i 's|lua5.1/||' pbx/pbx_lua.c
    1.23  	grep -rsl '^#define AST_PBX_MAX_STACK' * | xargs busybox sed -i \
    1.24  		's/define AST_PBX_MAX_STACK.*/define AST_PBX_MAX_STACK 1024/'
    1.25 -	[ -s $SOURCES_REPOSITORY/rfc3951.txt ] ||
    1.26 -		wget -P $SOURCES_REPOSITORY http://www.ietf.org/rfc/rfc3951.txt
    1.27 +	while read url ; do
    1.28 +		[ -s $SOURCES_REPOSITORY/$(basename "$url") ] ||
    1.29 +		    wget --no-check-certificate -P $SOURCES_REPOSITORY "$url"
    1.30 +	done <<EOT
    1.31 +http://www.ietf.org/rfc/rfc3951.txt                                            
    1.32 +https://github.com/meetecho/asterisk-opus/raw/master/asterisk_opus%2Bvp8.diff  
    1.33 +http://svn.code.sf.net/p/freetel/code/codec2/branches/0.5/asterisk-11/asterisk-11.8.1-codec2.patch                                                             
    1.34 +http://svn.code.sf.net/p/freetel/code/codec2/branches/0.5/asterisk-11/asterisk-11.8.1-opus-codec2.patch                                                        
    1.35 +EOT
    1.36  	cp $SOURCES_REPOSITORY/rfc3951.txt codecs/ilbc ||
    1.37  	cp $stuff/rfc3951.txt codecs/ilbc
    1.38  	[ -f codecs/ilbc/iLBC_define.h ] || ( cd codecs/ilbc &&
    1.39  		awk -f $stuff/extract-cfile.awk rfc3951.txt > /dev/null )
    1.40 -	mkdir -p $DESTDIR/usr/bin
    1.41 +	patch -p1 < $SOURCES_REPOSITORY/asterisk_opus%2Bvp8.diff                
    1.42 +	patch -p1 < $SOURCES_REPOSITORY/asterisk-11.8.1-opus-codec2.patch       
    1.43 +	mkdir -p $DESTDIR/usr/bin                                               
    1.44 +	./bootstrap.sh                                                          
    1.45  	./configure \
    1.46  		--prefix=/usr \
    1.47  		--sysconfdir=/etc \