wok-next annotate linphone/receipt @ rev 21286
updated gnuradio (3.7.8 -> 3.8.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 11:42:09 2019 +0100 (2019-12-08) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
pascal@5763 | 2 |
pascal@5763 | 3 PACKAGE="linphone" |
pascal@12665 | 4 VERSION="3.5.2" |
pascal@5763 | 5 CATEGORY="network" |
al@20463 | 6 SHORT_DESC="SIP soft phone" |
pascal@5763 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20463 | 9 WEB_SITE="http://www.linphone.org/" |
al@20463 | 10 |
pascal@13027 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13027 | 12 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" |
pascal@13027 | 13 |
al@21087 | 14 BUILD_DEPENDS="intltool sdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \ |
al@21078 | 15 libxv-dev v4l-utils-dev libglade-dev gtk2-dev glib-dev speex-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@5763 | 17 |
al@20956 | 18 COOKOPTS="skip-log-errors" |
al@20956 | 19 |
al@20463 | 20 compile_rules() { |
al@20463 | 21 sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \ |
pascal@16654 | 22 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ |
pascal@16654 | 23 -e 's/avcodec_get_context_defaults(\([^)]*\)/avcodec_get_context_defaults3(\1, NULL/' \ |
pascal@16654 | 24 -e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \ |
pascal@16654 | 25 mediastreamer2/src/*.c |
pascal@16659 | 26 sed -i 's/g_thread_init(NULL);//' gtk/*.c |
al@20956 | 27 |
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" \ |
al@20463 | 31 ./configure \ |
al@20463 | 32 --prefix=/usr \ |
al@20463 | 33 --libexecdir=/usr/bin \ |
al@20463 | 34 --infodir=/usr/share/info \ |
al@20463 | 35 --mandir=/usr/share/man \ |
al@20463 | 36 $CONFIGURE_ARGS && |
pascal@5763 | 37 make && |
al@21020 | 38 make DESTDIR=$install install |
pascal@5763 | 39 } |
pascal@5763 | 40 |
al@20463 | 41 genpkg_rules() { |
al@20463 | 42 case $PACKAGE in |
al@20463 | 43 linphone) |
al@20956 | 44 copy @std |
al@21078 | 45 DEPENDS="osip exosip speex ffmpeg libxv v4l-utils libglade gtk2 \ |
al@20463 | 46 glib" |
al@20463 | 47 TAGS="softphone telephony" |
al@20463 | 48 ;; |
al@20463 | 49 *-dev) |
al@20956 | 50 copy @dev |
al@20463 | 51 ;; |
al@20463 | 52 esac |
pascal@5763 | 53 } |