2006-01-31 16:22:10 +01:00
|
|
|
{ stdenv, fetchurl, libX11, libXt, libXext, zlib, perl, qt, openssl, pcre
|
|
|
|
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat
|
2007-09-21 15:07:25 +02:00
|
|
|
, freetype, bzip2, cups
|
2006-01-31 16:22:10 +01:00
|
|
|
}:
|
2005-11-12 15:52:16 +01:00
|
|
|
|
2007-09-21 15:07:25 +02:00
|
|
|
let version = "3.5.7"; in
|
|
|
|
|
2005-11-12 15:52:16 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-09-21 15:07:25 +02:00
|
|
|
name = "kdelibs-${version}";
|
2007-03-26 15:39:50 +02:00
|
|
|
|
2005-11-12 15:52:16 +01:00
|
|
|
src = fetchurl {
|
2007-09-21 15:07:25 +02:00
|
|
|
url = "mirror://kde/stable/${version}/src/kdelibs-${version}.tar.bz2";
|
|
|
|
md5 = "50ed644f2ec91963570fe2b155652957";
|
2005-11-12 15:52:16 +01:00
|
|
|
};
|
|
|
|
|
2007-08-09 18:55:14 +02:00
|
|
|
passthru = {inherit openssl libX11 libjpeg qt;};
|
2007-03-26 15:39:50 +02:00
|
|
|
|
2005-11-12 15:52:16 +01:00
|
|
|
buildInputs = [
|
|
|
|
libX11 libXt libXext zlib perl qt openssl pcre
|
2006-01-31 16:22:10 +01:00
|
|
|
pkgconfig libjpeg libpng libtiff libxml2 libxslt expat
|
2007-09-21 15:07:25 +02:00
|
|
|
libtool freetype bzip2 cups
|
2005-11-12 15:52:16 +01:00
|
|
|
];
|
2006-08-12 00:26:55 +02:00
|
|
|
|
2007-03-26 17:49:38 +02:00
|
|
|
configureFlags = "
|
2006-08-12 00:26:55 +02:00
|
|
|
--without-arts
|
|
|
|
--with-ssl-dir=${openssl}
|
|
|
|
--with-extra-includes=${libjpeg}/include
|
|
|
|
--x-includes=${libX11}/include
|
|
|
|
--x-libraries=${libX11}/lib
|
|
|
|
";
|
2005-11-12 15:52:16 +01:00
|
|
|
}
|