wok-next annotate opal/receipt @ rev 21327
try to build libquicktime again
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 12 15:30:55 2019 +0100 (2019-12-12) |
parents | 75632eca5b07 |
children |
rev | line source |
---|---|
pascal@20092 | 1 # SliTaz package receipt v2. |
pascal@302 | 2 |
pascal@302 | 3 PACKAGE="opal" |
pascal@20092 | 4 VERSION="3.10.10" |
pascal@302 | 5 CATEGORY="network" |
al@20512 | 6 SHORT_DESC="Open Phone Abstraction library" |
pascal@302 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="MPL" |
al@20972 | 9 WEB_SITE="https://www.ekiga.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/opal.html" |
al@20512 | 11 |
pascal@20092 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20512 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15601 | 14 |
al@20512 | 15 BUILD_DEPENDS="ptlib-dev openssl-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@302 | 17 |
al@20512 | 18 compile_rules() { |
al@20512 | 19 sed -i 's| abs(| std::fabs(|g' plugins/video/common/mpi.cxx |
al@20512 | 20 |
al@20512 | 21 sed -i -e 's/CODEC_ID/AV_&/' -e 's/PIX_FMT_/AV_&/' \ |
al@20512 | 22 plugins/video/H.263-1998/h263-1998.cxx \ |
al@20512 | 23 plugins/video/common/dyna.cxx \ |
al@20512 | 24 plugins/video/H.264/h264-x264.cxx \ |
al@20512 | 25 plugins/video/MPEG4-ffmpeg/mpeg4.cxx |
al@20512 | 26 |
al@20512 | 27 sed -i -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' \ |
pascal@20092 | 28 src/im/msrp.cxx |
al@20512 | 29 |
al@20512 | 30 sed -i -e '/abs(/s/MPI.*)/(int)(&)/' ./plugins/video/common/mpi.cxx |
al@20512 | 31 |
al@20512 | 32 ./configure \ |
al@20512 | 33 $CONFIGURE_ARGS && |
al@20512 | 34 CXXFLAGS=-Wno-deprecated-declarations \ |
al@20512 | 35 make $MAKEFLAGS && |
al@21020 | 36 make DESTDIR=$install install || return 1 |
al@20512 | 37 |
al@20512 | 38 chmod 644 $install/usr/lib/libopal_s.a |
pascal@302 | 39 } |
pascal@302 | 40 |
al@20512 | 41 genpkg_rules() { |
pascal@20092 | 42 case $PACKAGE in |
al@20512 | 43 opal) |
al@20512 | 44 copy @std |
al@21087 | 45 DEPENDS="cyrus-sasl expat jpeg sdl libogg libtheora \ |
al@21080 | 46 libunixODBC openssl ptlib libtiff zlib" |
al@20512 | 47 TAGS="telephony" |
al@20512 | 48 ;; |
al@20512 | 49 *-dev) |
al@20512 | 50 copy @dev |
al@20512 | 51 ;; |
pascal@20092 | 52 esac |
pascal@302 | 53 } |