wok annotate linphone/receipt @ rev 21407
updated lynx (2.8.8 -> 2.8.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 23 15:37:46 2019 +0100 (2019-04-23) |
parents | 1e800a730225 |
children | d0c61e885e3a |
rev | line source |
---|---|
pascal@5763 | 1 # SliTaz package receipt. |
pascal@5763 | 2 |
pascal@5763 | 3 PACKAGE="linphone" |
pascal@12665 | 4 VERSION="3.5.2" |
pascal@5763 | 5 CATEGORY="network" |
pascal@5763 | 6 SHORT_DESC="SIP soft phone." |
pascal@5763 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@13027 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13027 | 10 WEB_SITE="http://www.linphone.org/" |
pascal@13027 | 11 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" |
pascal@13027 | 12 TAGS="softphone telephony" |
pascal@13027 | 13 |
pascal@16612 | 14 DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib" |
pascal@16612 | 15 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \ |
pascal@10683 | 16 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev" |
pascal@5763 | 17 |
pascal@5763 | 18 # Rules to configure and make the package. |
pascal@5763 | 19 compile_rules() |
pascal@5763 | 20 { |
pascal@19737 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@16658 | 22 sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \ |
pascal@16654 | 23 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ |
pascal@16654 | 24 -e 's/avcodec_get_context_defaults(\([^)]*\)/avcodec_get_context_defaults3(\1, NULL/' \ |
pascal@16654 | 25 -e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \ |
pascal@16654 | 26 mediastreamer2/src/*.c |
pascal@16659 | 27 sed -i 's/g_thread_init(NULL);//' gtk/*.c |
pascal@13055 | 28 # Define deprecated ffmepg flags ... |
pascal@17774 | 29 CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \ |
pascal@13055 | 30 LIBS="-lavutil -lz" \ |
pascal@13055 | 31 ./configure --prefix=/usr --libexecdir=/usr/bin \ |
pascal@5763 | 32 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@5763 | 33 make && |
pascal@15311 | 34 make DESTDIR=$DESTDIR install 2>&1 | sed \ |
pascal@15311 | 35 -e "s/css': No such file/css': no such file/" \ |
pascal@15311 | 36 -e "s/html': No such file/html': no such file/" |
pascal@5763 | 37 } |
pascal@5763 | 38 |
pascal@5763 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5763 | 40 genpkg_rules() |
pascal@5763 | 41 { |
pascal@5763 | 42 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15000 | 43 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15000 | 44 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 45 cp -a $install/usr/share/sounds $fs/usr/share |
pascal@15000 | 46 cp -a $install/usr/share/locale $fs/usr/share |
pascal@15000 | 47 cp -a $install/usr/share/images $fs/usr/share |
pascal@15000 | 48 cp -a $install/usr/share/linphone $fs/usr/share |
pascal@15000 | 49 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@5763 | 51 } |