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