4a6cfd435e
That way, we don't need the patch anymore to fix what that part broke. Also kde stops needing the findqt4 patch (for its own copy of the findqt4 cmake module). I tested a nixos-rebuild with kde4, and it builds as far as hydra built with this configuration. svn path=/nixpkgs/trunk/; revision=20921
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ stdenv, fetchurl, cmake, lib, perl
|
|
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
|
, xz, flex, bison, openexr, aspell, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
|
|
, automoc4, phonon, strigi, soprano, qca2, attica, polkit_qt
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "kdelibs-4.4.2";
|
|
|
|
src = fetchurl {
|
|
url = mirror://kde/stable/4.4.2/src/kdelibs-4.4.2.tar.bz2;
|
|
sha256 = "02kcw716hmkcvsz7sc823m7lzkmacb526fajkq54gxqa6fc2yr15";
|
|
};
|
|
|
|
buildInputs = [
|
|
cmake perl qt4 stdenv.gcc.libc xz flex bison bzip2 pcre fam libxml2 libxslt
|
|
shared_mime_info giflib jasper /*openexr*/ aspell avahi kerberos acl attr
|
|
libXScrnSaver
|
|
automoc4 phonon strigi soprano qca2 attica polkit_qt
|
|
];
|
|
|
|
propagatedBuildInputs = [ shared_desktop_ontologies ];
|
|
|
|
|
|
# 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 ];
|
|
};
|
|
}
|