2010-02-10 16:06:50 +01:00
|
|
|
{ stdenv, fetchurl, cmake, lib, perl
|
|
|
|
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
2010-02-10 17:01:55 +01:00
|
|
|
, xz, flex, bison, openexr, aspell, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
|
|
|
|
, automoc4, phonon, strigi, soprano, qca2, attica, polkit_qt
|
2010-02-10 16:06:50 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kdelibs-4.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://kde/stable/4.4.0/src/kdelibs-4.4.0.tar.bz2;
|
|
|
|
sha256 = "1nf829k9mcnqf1jfsfjgb1dw6s0kh02sixxjcgmapccmmqx1p5ak";
|
|
|
|
};
|
|
|
|
|
2010-02-12 18:02:45 +01:00
|
|
|
# The same way as cmake needed a patch for findqt4 to work properly under nix,
|
|
|
|
# also KDE, because they have their own copy of cmake's findqt4.
|
|
|
|
patches = [ ./findqt4.patch ];
|
2010-02-10 16:06:50 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake perl qt4 stdenv.gcc.libc xz flex bison bzip2 pcre fam libxml2 libxslt
|
2010-02-11 14:34:28 +01:00
|
|
|
shared_mime_info giflib jasper /*openexr*/ aspell avahi kerberos acl attr
|
2010-02-12 18:53:51 +01:00
|
|
|
libXScrnSaver
|
2010-02-10 17:01:55 +01:00
|
|
|
automoc4 phonon strigi soprano qca2 attica polkit_qt
|
2010-02-10 16:06:50 +01:00
|
|
|
];
|
|
|
|
|
2010-02-12 18:53:51 +01:00
|
|
|
propagatedBuildInputs = [ shared_desktop_ontologies ];
|
|
|
|
|
2010-02-10 17:01:55 +01:00
|
|
|
|
2010-02-10 16:06:50 +01:00
|
|
|
# I don't know why cmake does not find the acl files (but finds attr files)
|
|
|
|
cmakeFlags = [ "-DHAVE_ACL_LIBACL_H=ON" "-DHAVE_SYS_ACL_H=ON" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE libraries";
|
|
|
|
license = "LGPL";
|
|
|
|
homepage = http://www.kde.org;
|
|
|
|
maintainers = [ lib.maintainers.sander ];
|
|
|
|
};
|
|
|
|
}
|