2012-02-17 13:03:33 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, gtk, libglade, libosip, libexosip
|
2013-06-29 15:50:56 +01:00
|
|
|
, speex, readline, mediastreamer, libsoup, udev, libnotify }:
|
2013-02-16 20:48:47 +00:00
|
|
|
|
2011-08-18 13:52:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-06-29 15:50:56 +01:00
|
|
|
name = "linphone-3.6.1";
|
2011-01-13 20:49:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-06-29 15:50:56 +01:00
|
|
|
url = "mirror://savannah/linphone/3.6.x/sources/${name}.tar.gz";
|
|
|
|
sha256 = "186jm4nd4ggb0j8cs8wnpm4sy9cr7chq0c6kx2yc6y4k7qi83fh5";
|
2011-01-13 20:49:58 +00:00
|
|
|
};
|
|
|
|
|
2013-06-29 15:50:56 +01:00
|
|
|
buildInputs = [ gtk libglade libosip libexosip readline mediastreamer speex libsoup udev
|
|
|
|
libnotify ];
|
2011-01-13 20:49:58 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2012-02-17 13:03:33 +00:00
|
|
|
|
2013-06-29 15:50:56 +01:00
|
|
|
preConfigure = ''
|
|
|
|
rm -r mediastreamer2 oRTP
|
|
|
|
sed -i s,/bin/echo,echo, coreapi/Makefile*
|
|
|
|
'';
|
2013-02-16 20:48:47 +00:00
|
|
|
|
2012-02-17 13:03:33 +00:00
|
|
|
configureFlags = "--enable-external-ortp --enable-external-mediastreamer";
|
2012-02-10 10:13:48 +00:00
|
|
|
|
2013-04-18 09:17:41 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # I'm lazy to fix these for them
|
|
|
|
|
2011-01-13 20:49:58 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.linphone.org/;
|
|
|
|
description = "Open Source video SIP softphone";
|
|
|
|
license = "GPLv2+";
|
2012-02-17 13:03:37 +00:00
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2011-01-13 20:49:58 +00:00
|
|
|
};
|
|
|
|
}
|