2014-08-08 20:13:38 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, ptlib, srtp, libtheora, speex
|
|
|
|
, ffmpeg, x264, cyrus_sasl, openldap, openssl, expat, unixODBC }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "opal-3.10.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/opal/3.10/${name}.tar.xz";
|
|
|
|
sha256 = "f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864";
|
2010-09-06 00:37:54 +01:00
|
|
|
};
|
|
|
|
|
2014-08-08 20:13:38 +01:00
|
|
|
buildInputs = [ pkgconfig ptlib srtp libtheora speex
|
|
|
|
ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
|
2014-08-08 21:30:24 +01:00
|
|
|
propagatedBuildInputs = [ speex ];
|
2014-08-08 20:13:38 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-h323" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-04-12 18:17:04 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-D__STDC_CONSTANT_MACROS=1";
|
2014-08-08 20:13:38 +01:00
|
|
|
|
|
|
|
patches = [ ./disable-samples-ftbfs.diff ./libav9.patch ./libav10.patch ];
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-08 20:13:38 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "VoIP library";
|
2014-08-08 20:13:38 +01:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-06 00:37:54 +01:00
|
|
|
};
|
2014-08-08 20:13:38 +01:00
|
|
|
|
2010-09-06 00:37:54 +01:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 20:13:38 +01:00
|
|
|
}
|
2010-09-06 00:37:54 +01:00
|
|
|
|