# HG changeset patch # User Hans-G?nter Theisgen # Date 1583329201 -3600 # Node ID d0c61e885e3a7071d1772689ba93e8d2d5ec3aa3 # Parent 7757b63c231ba0ee6e9f2dbfa551ebfdc35a54aa linphone: added build dependency cmake diff -r 7757b63c231b -r d0c61e885e3a linphone/receipt --- a/linphone/receipt Wed Mar 04 13:39:54 2020 +0100 +++ b/linphone/receipt Wed Mar 04 14:40:01 2020 +0100 @@ -3,17 +3,18 @@ PACKAGE="linphone" VERSION="3.5.2" CATEGORY="network" +TAGS="softphone telephony" SHORT_DESC="SIP soft phone." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.linphone.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.linphone.org/" WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" -TAGS="softphone telephony" -DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib" -BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \ -xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev" +DEPENDS="exosip glib gtk+ ffmpeg libglade libv4l osip speex xorg-libXv" +BUILD_DEPENDS="cmake exosip-dev ffmpeg-dev glib-dev gtk+-dev intltool + libglade-dev libsdl-dev libv4l-dev osip-dev speex-dev xorg-libXv-dev" # Rules to configure and make the package. compile_rules() @@ -26,10 +27,15 @@ mediastreamer2/src/*.c sed -i 's/g_thread_init(NULL);//' gtk/*.c # Define deprecated ffmepg flags ... - CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \ - LIBS="-lavutil -lz" \ - ./configure --prefix=/usr --libexecdir=/usr/bin \ - --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS + export CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" + export LIBS="-lavutil -lz" + + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/bin \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS make && make DESTDIR=$DESTDIR install 2>&1 | sed \ -e "s/css': No such file/css': no such file/" \ @@ -39,13 +45,15 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - cp -a $install/usr/share/sounds $fs/usr/share - cp -a $install/usr/share/locale $fs/usr/share - cp -a $install/usr/share/images $fs/usr/share - cp -a $install/usr/share/linphone $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/pixmaps $fs/usr/share + cp -a $install/usr/share/sounds $fs/usr/share + cp -a $install/usr/share/locale $fs/usr/share + cp -a $install/usr/share/images $fs/usr/share + cp -a $install/usr/share/linphone $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib }