34 lines
1 KiB
Nix
34 lines
1 KiB
Nix
|
{ stdenv, fetchurl, pkgconfig, x11, zlib, libpng, libjpeg, perl, qt
|
||
|
, kdelibs, openssl, bzip2, fontconfig
|
||
|
, libXrandr, libXinerama, libXau, libXdmcp, libXcursor, libfontenc
|
||
|
, imake, bdftopcf
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "kdebase-3.5.6";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = http://ftp.scarlet.be/pub/kde/stable/3.5.6/src/kdebase-3.5.6.tar.bz2;
|
||
|
sha256 = "0zmxnw4p8bkd2b867cwdzdnp36ikwnz0ffrbx6d3ylz1nbw3anr4";
|
||
|
};
|
||
|
|
||
|
buildInputs = [
|
||
|
pkgconfig x11 zlib libpng libjpeg perl qt
|
||
|
kdelibs openssl bzip2 fontconfig
|
||
|
libXrandr libXinerama libXau libXdmcp libXcursor libfontenc
|
||
|
imake bdftopcf
|
||
|
];
|
||
|
|
||
|
configureFlags = "
|
||
|
--without-arts
|
||
|
--with-ssl-dir=${openssl}
|
||
|
--with-extra-includes=${libjpeg}/include
|
||
|
";
|
||
|
|
||
|
# Quick hack to work around a faulty dependency in
|
||
|
# konqueror/keditbookmarks/Makefile.am (${includedir} should be
|
||
|
# ${kdelibs} or so).
|
||
|
preBuild = "ensureDir $out/include; ln -s ${kdelibs}/include/kbookmarknotifier.h $out/include/";
|
||
|
postInstall = "rm $out/include/kbookmarknotifier.h";
|
||
|
}
|