Adding Ekiga
svn path=/nixpkgs/trunk/; revision=23653
This commit is contained in:
parent
8479512626
commit
29db2ca0c9
71
pkgs/applications/networking/ekiga/default.nix
Normal file
71
pkgs/applications/networking/ekiga/default.nix
Normal file
@ -0,0 +1,71 @@
|
||||
x@{builderDefsPackage
|
||||
, cyrus_sasl, gettext, openldap, ptlib, opal, GConf, libXv, rarian, intltool
|
||||
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi
|
||||
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, automake
|
||||
, autoconf, pkgconfig, libxml2, videoproto, unixODBC, db4, nspr, nss, zlib
|
||||
, libXrandr, randrproto, which, libxslt
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="ekiga";
|
||||
baseVersion="3.2";
|
||||
patchlevel="7";
|
||||
version="${baseVersion}.${patchlevel}";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
|
||||
hash="13zxwfqhp7pisadx0hq50qwnj6d8r4dldvbs1ngydbwfnq4i6npj";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
|
||||
configureFlags = [
|
||||
"--with-ldap-dir=${openldap}"
|
||||
"--with-libsasl2-dir=${cyrus_sasl}"
|
||||
];
|
||||
|
||||
setVars = a.noDepEntry (''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${opal}/include/opal"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${evolution_data_server}/include/evolution-*)"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2"
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${GConf}/include/gconf/2"
|
||||
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lopal"
|
||||
for i in ${evolution_data_server}/lib/lib*.so; do
|
||||
file="$(basename "$i" .so)"
|
||||
bn="''${file#lib}"
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -l$bn"
|
||||
done
|
||||
'');
|
||||
|
||||
meta = {
|
||||
description = "Ekiga SIP client";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "mirror://gnome/sources/ekiga";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
56
pkgs/development/libraries/opal/default.nix
Normal file
56
pkgs/development/libraries/opal/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
x@{builderDefsPackage
|
||||
, doxygen, pkgconfig, ptlib, srtp, libtheora, speex
|
||||
, ffmpeg, x264, cyrus_sasl, openldap, openssl, expat, unixODBC
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="opal";
|
||||
baseVersion="3.6";
|
||||
patchlevel="8";
|
||||
version="${baseVersion}.${patchlevel}";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
|
||||
hash="0359wqmrxqajd94sw3q2dn6n6y3caggavwdcmzyn6maw7srspgwc";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
|
||||
configureFlags = [
|
||||
"--enable-h323"
|
||||
];
|
||||
setVars = a.noDepEntry (''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -D__STDC_CONSTANT_MACROS=1"
|
||||
'');
|
||||
|
||||
meta = {
|
||||
description = "OPAL VoIP library";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/opal";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
50
pkgs/development/libraries/ptlib/default.nix
Normal file
50
pkgs/development/libraries/ptlib/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
x@{builderDefsPackage
|
||||
, autoconf, automake, libtool, doxygen, pkgconfig, bison, flex, unixODBC
|
||||
, openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="ptlib";
|
||||
baseVersion="2.6";
|
||||
patchlevel="7";
|
||||
version="${baseVersion}.${patchlevel}";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
|
||||
hash="0zxrygl2ivbciqf97yd9n67ch9vd9gp236w96i6ia8fxzqjq5lkx";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "Portable Tools from OPAL VoIP";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://ftp.gnome.org/sources/ptlib/";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
47
pkgs/development/libraries/srtp/default.nix
Normal file
47
pkgs/development/libraries/srtp/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
x@{builderDefsPackage
|
||||
, autoconf, automake, libtool, doxygen, procps
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="srtp";
|
||||
version="1.4.2";
|
||||
name="${baseName}-${version}";
|
||||
url="http://srtp.sourceforge.net/${name}.tgz";
|
||||
hash="1497mcxharnhiccjhny30g4wlv28ckdxhj14jrwvdnnvhl80jf43";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "Secure RTP";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://srtp.sourceforge.net/download.html";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
56
pkgs/servers/evolution-data-server/default.nix
Normal file
56
pkgs/servers/evolution-data-server/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
x@{builderDefsPackage
|
||||
, pkgconfig, flex, bison, libtool, intltool, perl
|
||||
, db4, krb5, openldap, glib, libxml2, GConf
|
||||
, nss, gtk, libgnome, libsoup, gnome_keyring
|
||||
, gtkdoc, sqlite, libgweather, libical, icu
|
||||
, dbus_glib, gperf, nspr, gdk_pixbuf ? null
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
url = "mirror://gnome/sources/evolution-data-server/2.30/evolution-data-server-2.30.3.tar.bz2";
|
||||
hash = "147qkpiafrlq220qg2pmp9lbvh8bn339wh1699bgb7rvmdvycwrp";
|
||||
version = "2.30.3";
|
||||
name = "evolution-data-server-${version}";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
configureFlags = [
|
||||
"--with-nspr-includes=${nspr}/include/nspr"
|
||||
"--with-nss-includes=${nss}/include/nss"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Evolution Data Server";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
/* I am only interested in it for libebook... */
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://projects.gnome.org/evolution/download.shtml";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
@ -3589,6 +3589,8 @@ let
|
||||
opensc = opensc_0_11_7;
|
||||
};
|
||||
|
||||
opal = callPackage ../development/libraries/opal {};
|
||||
|
||||
openjpeg = callPackage ../development/libraries/openjpeg { };
|
||||
|
||||
openssl = callPackage ../development/libraries/openssl {
|
||||
@ -3640,6 +3642,8 @@ let
|
||||
|
||||
pth = callPackage ../development/libraries/pth { };
|
||||
|
||||
ptlib = callPackage ../development/libraries/ptlib {};
|
||||
|
||||
qjson = callPackage ../development/libraries/qjson { };
|
||||
|
||||
qt3 = callPackage ../development/libraries/qt-3 {
|
||||
@ -3738,6 +3742,8 @@ let
|
||||
|
||||
speex = callPackage ../development/libraries/speex { };
|
||||
|
||||
srtp = callPackage ../development/libraries/srtp {};
|
||||
|
||||
sqlite = callPackage ../development/libraries/sqlite {
|
||||
readline = null;
|
||||
ncurses = null;
|
||||
@ -5455,6 +5461,10 @@ let
|
||||
libgnomeui libglade glib gtk scrollkeeper gnome_keyring;
|
||||
};
|
||||
|
||||
evolution_data_server = (newScope (gnome // gtkLibs))
|
||||
../servers/evolution-data-server {
|
||||
};
|
||||
|
||||
exrdisplay = callPackage ../applications/graphics/exrdisplay {
|
||||
fltk = fltk20;
|
||||
};
|
||||
@ -6869,6 +6879,9 @@ let
|
||||
|
||||
dpkg = callPackage ../tools/package-management/dpkg { };
|
||||
|
||||
ekiga = lib.callPackageWith (pkgs // pkgs.xorg // pkgs.gtkLibs // pkgs.gnome)
|
||||
../applications/networking/ekiga {};
|
||||
|
||||
electricsheep = callPackage ../misc/screensavers/electricsheep { };
|
||||
|
||||
foldingathome = callPackage ../misc/foldingathome { };
|
||||
|
Loading…
Reference in New Issue
Block a user