forked from mirrors/nixpkgs
c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
56 lines
1.9 KiB
Nix
56 lines
1.9 KiB
Nix
{ stdenv, fetchurl, cyrus_sasl, gettext, openldap, ptlib, opal, libXv, rarian, intltool
|
|
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi, autoreconfHook
|
|
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
|
|
, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib, hicolor_icon_theme
|
|
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ekiga-4.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/ekiga/4.0/${name}.tar.xz";
|
|
sha256 = "5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b";
|
|
};
|
|
|
|
buildInputs = [ cyrus_sasl gettext openldap ptlib opal libXv rarian intltool
|
|
perl perlXMLParser evolution_data_server gnome_doc_utils avahi
|
|
libsigcxx gtk dbus_glib libnotify libXext xextproto sqlite
|
|
gnome3.libsoup
|
|
hicolor_icon_theme gnome3.gnome_icon_theme boost autoreconfHook
|
|
pkgconfig libxml2 videoproto unixODBC db nspr nss zlib libsecret
|
|
libXrandr randrproto which libxslt libtasn1 gmp nettle makeWrapper ];
|
|
|
|
preAutoreconf = ''
|
|
substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--with-ldap-dir=${openldap}"
|
|
"--with-libsasl2-dir=${cyrus_sasl}"
|
|
"--with-boost-libdir=${boost}/lib"
|
|
"--disable-gconf"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
patches = [ ./autofoo.patch ./boost.patch ];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$out"/bin/ekiga \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "VOIP/Videoconferencing app with full SIP and H.323 support";
|
|
maintainers = [ maintainers.raskin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
|
|
passthru = {
|
|
updateInfo = {
|
|
downloadPage = "mirror://gnome/sources/ekiga";
|
|
};
|
|
};
|
|
}
|
|
|