Browse Source

xap/linphone: Upgraded to linphone-3.9.1.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
f3fffb2dc5
  1. 3
      xap/linphone/checksums
  2. 1
      xap/linphone/linphone-3.7.0.tar.gz.sha1
  3. 37
      xap/linphone/linphone.SlackBuild

3
xap/linphone/checksums

@ -0,0 +1,3 @@
f3924f15a2cd03df17b9a8dbdfa35abf73c608d5 linphone-3.9.1.tar.gz
f2467b2ffcaa63bfdfc7ac51c40ac50c38ad6289 mediastreamer-2.12.1.tar.gz
ac4e4ed7a67bef1a57c0c2c8168f4f0bc470d7c4 ortp-0.25.0.tar.gz

1
xap/linphone/linphone-3.7.0.tar.gz.sha1

@ -1 +0,0 @@
19e8e8c047a8b74aa06c73d70b2aeac851203e47 linphone-3.7.0.tar.gz

37
xap/linphone/linphone.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011,2012,2013,2014 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2012,2013,2014,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,14 +25,22 @@
# Latest linphone sourcecode is available at:
# <http://www.linphone.org/>.
#
# Depends: l/belle-sip, l/zrtpcpp
# Depends: l/belle-sip, l/bzrtp
# Recommends: xap/ffmpeg
# Source package infos
# Source packages info
NAMESRC=${NAMESRC:-linphone}
VERSION=${VERSION:-3.7.0}
VERSION=${VERSION:-3.9.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://download.savannah.gnu.org/releases/linphone/3.7.x/sources/$ARCHIVE}
WGET=${WGET:-http://download.savannah.gnu.org/releases/linphone/3.9.x/sources/$ARCHIVE}
ORTP_VERSION=0.25.0
ORTP_ARCHIVE=ortp-$ORTP_VERSION.tar.gz
ORTP_WGET=http://download.savannah.gnu.org/releases/linphone/ortp/sources/$ORTP_ARCHIVE
MEDIASTREAMER_VERSION=2.12.1
MEDIASTREAMER_ARCHIVE=mediastreamer-$MEDIASTREAMER_VERSION.tar.gz
MEDIASTREAMER_WGET=http://download.savannah.gnu.org/releases/linphone/mediastreamer/$MEDIASTREAMER_ARCHIVE
# Build infos
NAMEPKG=${NAMEPKG:-linphone}
@ -74,12 +82,20 @@ x86_64)
;;
esac
# Get and verify the source archive
# Get and verify the source archives
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
if [ ! -r $ORTP_ARCHIVE ]; then
wget -c -O $ORTP_ARCHIVE.part "$ORTP_WGET"
mv $ORTP_ARCHIVE.part $ORTP_ARCHIVE
fi
if [ ! -r $MEDIASTREAMER_ARCHIVE ]; then
wget -c -O $MEDIASTREAMER_ARCHIVE.part "$MEDIASTREAMER_WGET"
mv $MEDIASTREAMER_ARCHIVE.part $MEDIASTREAMER_ARCHIVE
fi
sha1sum -c checksums
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Get forked srtp library
@ -108,6 +124,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
tar xf $CWD/$ORTP_ARCHIVE
mv ortp-$ORTP_VERSION oRTP
tar xf $CWD/$MEDIASTREAMER_ARCHIVE
mv mediastreamer-$MEDIASTREAMER_VERSION mediastreamer2
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -131,9 +151,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mv $PKG/usr/share/doc $PKG/usr/doc
mv $PKG/usr/doc/mediastreamer-*/html $PKG/usr/doc/$NAME/mediastreamer
mv $PKG/usr/doc/ortp-*/html $PKG/usr/doc/$NAME/ortp
rmdir $PKG/usr/doc/mediastreamer-* $PKG/usr/doc/ortp-*
rm -rf $PKG/usr/share/gnome/help
install -m 644 AUTHORS BUGS COPYING ChangeLog NEWS README TODO \
$PKG/usr/doc/$NAME

Loading…
Cancel
Save