parent
8479512626
commit
29db2ca0c9
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
Loading…
Reference in new issue