wok-next view opal/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | d5aab818505e |
children | 0f2575775b2d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opal"
4 VERSION="3.10.10"
5 CATEGORY="network"
6 SHORT_DESC="Open Phone Abstraction library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="https://www.ekiga.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/opal.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="ptlib-dev openssl-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's| abs(| std::fabs(|g' plugins/video/common/mpi.cxx
21 sed -i -e 's/CODEC_ID/AV_&/' -e 's/PIX_FMT_/AV_&/' \
22 plugins/video/H.263-1998/h263-1998.cxx \
23 plugins/video/common/dyna.cxx \
24 plugins/video/H.264/h264-x264.cxx \
25 plugins/video/MPEG4-ffmpeg/mpeg4.cxx
27 sed -i -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' \
28 src/im/msrp.cxx
30 sed -i -e '/abs(/s/MPI.*)/(int)(&)/' ./plugins/video/common/mpi.cxx
32 ./configure \
33 $CONFIGURE_ARGS &&
34 CXXFLAGS=-Wno-deprecated-declarations \
35 make $MAKEFLAGS &&
36 make DESTDIR=$install install || return 1
38 chmod 644 $install/usr/lib/libopal_s.a
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 opal)
44 copy @std
45 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora \
46 libunixODBC openssl ptlib libtiff zlib"
47 TAGS="telephony"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }