2014-08-08 19:13:38 +00: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-05 23:37:54 +00:00
|
|
|
};
|
|
|
|
|
2014-08-08 19:13:38 +00:00
|
|
|
buildInputs = [ pkgconfig ptlib srtp libtheora speex
|
|
|
|
ffmpeg x264 cyrus_sasl openldap openssl expat unixODBC ];
|
2014-08-08 20:30:24 +00:00
|
|
|
propagatedBuildInputs = [ speex ];
|
2014-08-08 19:13:38 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-h323" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-09-02 17:49:18 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-D__STDC_CONSTANT_MACROS=1 -std=gnu++98";
|
2014-08-08 19:13:38 +00:00
|
|
|
|
|
|
|
patches = [ ./disable-samples-ftbfs.diff ./libav9.patch ./libav10.patch ];
|
2010-09-05 23:37:54 +00:00
|
|
|
|
2014-08-08 19:13:38 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "VoIP library";
|
2014-08-08 19:13:38 +00:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2010-09-05 23:37:54 +00:00
|
|
|
};
|
2014-08-08 19:13:38 +00:00
|
|
|
|
2010-09-05 23:37:54 +00:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 19:13:38 +00:00
|
|
|
}
|
2010-09-05 23:37:54 +00:00
|
|
|
|