wok-6.x rev 23041

linphone: added build dependency cmake
author Hans-G?nter Theisgen
date Wed Mar 04 14:40:01 2020 +0100 (2020-03-04)
parents 7757b63c231b
children 40ecc4034aa7
files linphone/receipt
line diff
     1.1 --- a/linphone/receipt	Wed Mar 04 13:39:54 2020 +0100
     1.2 +++ b/linphone/receipt	Wed Mar 04 14:40:01 2020 +0100
     1.3 @@ -3,17 +3,18 @@
     1.4  PACKAGE="linphone"
     1.5  VERSION="3.5.2"
     1.6  CATEGORY="network"
     1.7 +TAGS="softphone telephony"
     1.8  SHORT_DESC="SIP soft phone."
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://www.linphone.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://www.linphone.org/"
    1.15  WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
    1.16 -TAGS="softphone telephony"
    1.17  
    1.18 -DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib"
    1.19 -BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \
    1.20 -xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
    1.21 +DEPENDS="exosip glib gtk+ ffmpeg libglade libv4l osip speex xorg-libXv"
    1.22 +BUILD_DEPENDS="cmake exosip-dev ffmpeg-dev glib-dev gtk+-dev intltool 
    1.23 +	libglade-dev libsdl-dev libv4l-dev osip-dev speex-dev xorg-libXv-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -26,10 +27,15 @@
    1.28  			mediastreamer2/src/*.c
    1.29  	sed -i 's/g_thread_init(NULL);//' gtk/*.c
    1.30  	# Define deprecated ffmepg flags ...
    1.31 -	CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
    1.32 -	LIBS="-lavutil -lz" \
    1.33 -	./configure --prefix=/usr --libexecdir=/usr/bin \
    1.34 -	--infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
    1.35 +	export CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1"
    1.36 +	export LIBS="-lavutil -lz"
    1.37 +
    1.38 +	./configure				\
    1.39 +		--prefix=/usr			\
    1.40 +		--libexecdir=/usr/bin		\
    1.41 +		--infodir=/usr/share/info	\
    1.42 +		--mandir=/usr/share/man		\
    1.43 +		$CONFIGURE_ARGS
    1.44  	make &&
    1.45  	make DESTDIR=$DESTDIR install 2>&1 | sed \
    1.46  		-e "s/css': No such file/css': no such file/" \
    1.47 @@ -39,13 +45,15 @@
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.52 -	cp -a $install/usr/share/applications $fs/usr/share
    1.53 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.54 -	cp -a $install/usr/share/sounds $fs/usr/share
    1.55 -	cp -a $install/usr/share/locale $fs/usr/share
    1.56 -	cp -a $install/usr/share/images $fs/usr/share
    1.57 -	cp -a $install/usr/share/linphone $fs/usr/share
    1.58 -	cp -a $install/usr/bin $fs/usr
    1.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.60 +	mkdir -p $fs/usr/lib
    1.61 +	mkdir -p $fs/usr/share
    1.62 +
    1.63 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.64 +	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.65 +	cp -a $install/usr/share/sounds		$fs/usr/share
    1.66 +	cp -a $install/usr/share/locale		$fs/usr/share
    1.67 +	cp -a $install/usr/share/images		$fs/usr/share
    1.68 +	cp -a $install/usr/share/linphone	$fs/usr/share
    1.69 +	cp -a $install/usr/bin			$fs/usr
    1.70 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.71  }