summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Euan Thoms <euan@potensol.com>2014-08-15 18:15:15 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:33 +0700
commitc9fbdbee2b97b94c8ee2059f457208c7dab41ea9 (patch)
treed4d9789ffa6431002cddeaaf2512298353747a43
parent3026bf827ebfa8a3d9645a99d08b0e01d0e57fb4 (diff)
downloadslackbuilds-c9fbdbee2b97b94c8ee2059f457208c7dab41ea9.tar.gz
slackbuilds-c9fbdbee2b97b94c8ee2059f457208c7dab41ea9.tar.xz
network/linphone: Updated for version 3.7.0 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/linphone/README11
-rw-r--r--network/linphone/linphone.SlackBuild45
-rw-r--r--network/linphone/linphone.info12
3 files changed, 53 insertions, 15 deletions
diff --git a/network/linphone/README b/network/linphone/README
index 22a3ebe07d..a424e3419b 100644
--- a/network/linphone/README
+++ b/network/linphone/README
@@ -1,8 +1,11 @@
Linphone is an audio and video Internet phone with GTK+ and
console interfaces. It uses the SIP protocol, and is compatible
with most SIP clients and gateways. It uses various audio and
-video codecs such as Speex, GSM, G711, ilbc, Theora, H263-1998,
-MPEG4, and snow.
+video codecs such as Opus, Speex, GSM, G711, ilbc, Theora, H263-1998,
+MPEG4, VP8 and snow.
-For video support you need the optional dependency ffmpeg.
-To enable support for video just pass VIDEO=yes to the script.
+Video support is enabled by default, but can be disabled and thus negating the need for ffmpeg.
+To disable support for video just pass VIDEO=no to the script.
+
+Truespeech is disabled by default, but can be enabled.
+To enable support for Truespeech just pass TRUESPEECH=yes to the script.
diff --git a/network/linphone/linphone.SlackBuild b/network/linphone/linphone.SlackBuild
index 9bbf18d150..360f42b68b 100644
--- a/network/linphone/linphone.SlackBuild
+++ b/network/linphone/linphone.SlackBuild
@@ -1,10 +1,31 @@
#!/bin/sh
# Slackware build script for linphone
-# Was written by adev and modified by Eugene Wissner <belka.ew@gmail.com>
+# Was written by adev and modified by Eugene Wissner
+# Now maintained by Euan Thoms <euan at potensol dot com>
+
+# Copyright 2014 Euan Thoms United Kingdom
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linphone
-VERSION=${VERSION:-3.6.1}
+VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,13 +59,20 @@ fi
DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog \
INSTALL NEWS README TODO $CWD/$PRGNAM.SlackBuild"
-# disable support for video and avoid the dependency on ffmpeg
-if [ "${VIDEO:-no}" = "yes" ]; then
+# enable support for video by default, requires ffmpeg
+if [ "${VIDEO:-yes}" = "yes" ]; then
do_video="--enable-video"
else
do_video="--disable-video"
fi
+# disable support for truespeech by default
+if [ "${TRUESPEECH:-no}" = "yes" ]; then
+ do_truespeech="--enable-truespeech"
+else
+ do_truespeech="--disable-truespeech"
+fi
+
set -e
rm -rf $PKG
@@ -60,6 +88,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+export LIBZRTPCPP_LIBS="$(pkg-config --libs libzrtpcpp) "
+export LIBZRTPCPP_CFLAGS="$(pkg-config --cflags libzrtpcpp) "
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -68,9 +99,13 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc \
--mandir=/usr/man \
--disable-static \
+ --disable-tests \
+ --disable-tutorials \
--enable-ipv6 \
--enable-alsa \
- --enable-truespeech \
+ --enable-ldap \
+ --enable-zrtp \
+ $do_truespeech \
$do_video \
--build=$ARCH-slackware-linux
diff --git a/network/linphone/linphone.info b/network/linphone/linphone.info
index d741cafe31..95f0066c9f 100644
--- a/network/linphone/linphone.info
+++ b/network/linphone/linphone.info
@@ -1,10 +1,10 @@
PRGNAM="linphone"
-VERSION="3.6.1"
+VERSION="3.7.0"
HOMEPAGE="http://www.linphone.org/"
-DOWNLOAD="http://download-mirror.savannah.gnu.org/releases/linphone/3.6.x/sources/linphone-3.6.1.tar.gz"
-MD5SUM="f59b99ec2501ebbb02969c885be4c4c5"
+DOWNLOAD="http://download-mirror.savannah.gnu.org/releases/linphone/3.7.x/sources/linphone-3.7.0.tar.gz"
+MD5SUM="6978492712bdacd452e375254d6033ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libeXosip2 speex"
-MAINTAINER="Eugene Wissner"
-EMAIL="belka.ew@gmail.com"
+REQUIRES="speex ffmpeg belle-sip linphone-srtp libzrtpcpp"
+MAINTAINER="Euan Thoms"
+EMAIL="euan at potensol dot com"