wok-next diff linphone/receipt @ rev 21013

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 14 05:29:23 2018 +0300 (2018-10-14)
parents 10df65db91ad
children f48456621a9d
line diff
     1.1 --- a/linphone/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.2 +++ b/linphone/receipt	Sun Oct 14 05:29:23 2018 +0300
     1.3 @@ -15,6 +15,8 @@
     1.4  xorg-libXv-dev v4l-utils-dev libglade-dev gtk+-dev glib-dev speex-dev"
     1.5  SPLIT="linphone-dev"
     1.6  
     1.7 +COOKOPTS="skip-log-errors"
     1.8 +
     1.9  compile_rules() {
    1.10  	sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \
    1.11  		-e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
    1.12 @@ -22,6 +24,7 @@
    1.13  		-e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \
    1.14  			mediastreamer2/src/*.c
    1.15  	sed -i 's/g_thread_init(NULL);//' gtk/*.c
    1.16 +
    1.17  	# Define deprecated ffmepg flags ...
    1.18  	CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
    1.19  	LIBS="-lavutil -lz" \
    1.20 @@ -32,32 +35,19 @@
    1.21  		--mandir=/usr/share/man \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$DESTDIR install 2>&1 | sed \
    1.25 -		-e "s/css': No such file/css': no such file/" \
    1.26 -		-e "s/html': No such file/html': no such file/"
    1.27 +	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  genpkg_rules() {
    1.31  	case $PACKAGE in
    1.32  		linphone)
    1.33 -			mkdir -p $fs/usr/lib $fs/usr/share
    1.34 -			cp -a $install/usr/share/applications $fs/usr/share
    1.35 -			cp -a $install/usr/share/pixmaps $fs/usr/share
    1.36 -			cp -a $install/usr/share/sounds $fs/usr/share
    1.37 -			cp -a $install/usr/share/locale $fs/usr/share
    1.38 -			cp -a $install/usr/share/images $fs/usr/share
    1.39 -			cp -a $install/usr/share/linphone $fs/usr/share
    1.40 -			cp -a $install/usr/bin $fs/usr
    1.41 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 +			copy @std
    1.43  			DEPENDS="osip exosip speex ffmpeg xorg-libXv v4l-utils libglade gtk+ \
    1.44  			glib"
    1.45  			TAGS="softphone telephony"
    1.46  			;;
    1.47  		*-dev)
    1.48 -			mkdir -p $fs/usr/lib
    1.49 -			cp -a $install/usr/include $fs/usr
    1.50 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.51 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.52 +			copy @dev
    1.53  			;;
    1.54  	esac
    1.55  }