2017-09-02 12:39:40 +01:00
|
|
|
{ stdenv, glib, fetchurl, fetchpatch, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
2018-10-12 23:56:15 +01:00
|
|
|
, perlPackages, evolution-data-server, gnome-doc-utils, avahi, autoreconfHook
|
2019-03-03 21:30:31 +00:00
|
|
|
, libsigcxx, gtk2, dbus-glib, libnotify, libXext, xorgproto, gnome3, boost, libsecret
|
2018-12-31 03:40:47 +00:00
|
|
|
, pkgconfig, libxml2, unixODBC, db, nspr, nss, zlib
|
|
|
|
, libXrandr, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ekiga-4.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/ekiga/4.0/${name}.tar.xz";
|
|
|
|
sha256 = "5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b";
|
2010-09-06 00:37:54 +01:00
|
|
|
};
|
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
2018-10-12 23:56:15 +01:00
|
|
|
evolution-data-server gnome-doc-utils avahi
|
2019-03-03 21:30:31 +00:00
|
|
|
libsigcxx gtk2 dbus-glib libnotify libXext xorgproto sqlite
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.libsoup glib gnome3.adwaita-icon-theme boost
|
2018-12-31 03:40:47 +00:00
|
|
|
autoreconfHook pkgconfig libxml2 unixODBC db nspr
|
|
|
|
nss zlib libsecret libXrandr which libxslt libtasn1
|
2018-10-12 23:56:15 +01:00
|
|
|
gmp nettle makeWrapper ]
|
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
2014-08-08 21:30:24 +01:00
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
2015-07-21 12:20:22 +01:00
|
|
|
substituteInPlace configure.ac --replace gnome-icon-theme adwaita-icon-theme
|
2014-08-08 21:30:24 +01:00
|
|
|
'';
|
2010-09-06 00:37:54 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
2016-04-16 18:41:33 +01:00
|
|
|
"--with-ldap-dir=${openldap.dev}"
|
2016-04-16 17:48:19 +01:00
|
|
|
"--with-libsasl2-dir=${cyrus_sasl.dev}"
|
2016-04-27 22:41:28 +01:00
|
|
|
"--with-boost-libdir=${boost.out}/lib"
|
2014-08-08 21:30:24 +01:00
|
|
|
"--disable-gconf"
|
2010-09-06 00:37:54 +01:00
|
|
|
];
|
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
enableParallelBuilding = true;
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2017-09-02 12:39:40 +01:00
|
|
|
patches = [
|
2017-09-02 13:58:23 +01:00
|
|
|
(fetchpatch { url = https://sources.debian.net/data/main/e/ekiga/4.0.1-7/debian/patches/autofoo.patch;
|
|
|
|
sha256 = "1vyagslws4mm9yfz1m5p1kv9sxmk5lls9vxpm6j72q2ahsgydzx4";
|
|
|
|
})
|
|
|
|
(fetchpatch { url = https://sources.debian.net/data/main/e/ekiga/4.0.1-7/debian/patches/boost.patch;
|
|
|
|
sha256 = "01k0rw8ibrrf9zn9lx6dzbrgy58w089hqxqxqdv9whb65cldlj5s";
|
|
|
|
})
|
2017-09-02 12:39:40 +01:00
|
|
|
(fetchpatch { url = https://src.fedoraproject.org/rpms/ekiga/raw/dbf5f5ba449d22bd79f0394cddb7d4d8a88ec6ac/f/ekiga-4.0.1-libresolv.patch;
|
|
|
|
sha256 = "18wc68im8422ibpa0gkrkgjq41m7hikaha3xqmjs2km45i1cwcaz";
|
|
|
|
})
|
|
|
|
];
|
2010-09-06 00:37:54 +01:00
|
|
|
|
2014-08-10 17:24:25 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out"/bin/ekiga \
|
2014-09-09 21:26:49 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
2014-08-10 17:24:25 +01:00
|
|
|
'';
|
|
|
|
|
2014-08-08 21:30:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "VOIP/Videoconferencing app with full SIP and H.323 support";
|
2014-08-08 21:30:24 +01:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2018-08-05 15:36:23 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2010-09-06 00:37:54 +01:00
|
|
|
};
|
2014-08-08 21:30:24 +01:00
|
|
|
|
2010-09-06 00:37:54 +01:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "mirror://gnome/sources/ekiga";
|
|
|
|
};
|
|
|
|
};
|
2014-08-08 21:30:24 +01:00
|
|
|
}
|
2010-09-06 00:37:54 +01:00
|
|
|
|