2010-08-29 23:20:38 +02:00
|
|
|
{ kde, gcc, cmake, perl
|
2010-08-02 19:12:39 +02:00
|
|
|
, qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper
|
|
|
|
, xz, flex, bison, openexr, aspell, avahi, kerberos, acl, attr, shared_desktop_ontologies, libXScrnSaver
|
2010-08-02 19:16:24 +02:00
|
|
|
, automoc4, strigi, soprano, qca2, attica, enchant, libdbusmenu_qt
|
2010-08-02 19:12:39 +02:00
|
|
|
, docbook_xml_dtd_42, docbook_xsl, polkit_qt_1
|
|
|
|
}:
|
|
|
|
|
2010-08-29 23:20:38 +02:00
|
|
|
kde.package {
|
2010-08-10 11:42:57 +02:00
|
|
|
|
2010-08-02 19:12:39 +02:00
|
|
|
buildInputs = [
|
|
|
|
cmake perl qt4 xz flex bison bzip2 pcre fam libxml2 libxslt
|
|
|
|
shared_mime_info giflib jasper /*openexr*/ aspell avahi kerberos acl attr
|
|
|
|
libXScrnSaver enchant libdbusmenu_qt polkit_qt_1
|
2010-08-02 19:16:24 +02:00
|
|
|
automoc4 strigi soprano qca2 attica
|
2010-08-02 19:12:39 +02:00
|
|
|
];
|
|
|
|
|
2010-08-06 22:24:17 +02:00
|
|
|
propagatedBuildInputs = [ shared_desktop_ontologies gcc.libc ];
|
2010-08-02 19:12:39 +02:00
|
|
|
|
2010-08-12 15:01:06 +02:00
|
|
|
patches = [ ./polkit-install.patch ];
|
|
|
|
|
2010-08-02 19:12:39 +02:00
|
|
|
# cmake fails to find acl.h because of C++-style comment
|
2010-08-20 22:13:01 +02:00
|
|
|
# TODO: OpenEXR, hspell
|
2010-08-29 23:20:38 +02:00
|
|
|
cmakeFlags = ''
|
|
|
|
-DHAVE_ACL_LIBACL_H=ON -DHAVE_SYS_ACL_H=ON
|
|
|
|
-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook
|
|
|
|
-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook
|
|
|
|
'';
|
2010-08-02 19:12:39 +02:00
|
|
|
|
2010-08-06 22:24:17 +02:00
|
|
|
meta = {
|
2010-08-02 19:12:39 +02:00
|
|
|
description = "KDE libraries";
|
|
|
|
license = "LGPL";
|
2010-08-29 23:20:38 +02:00
|
|
|
kde = {
|
|
|
|
name = "kdelibs";
|
|
|
|
version = "4.5.0";
|
|
|
|
};
|
2010-08-02 19:12:39 +02:00
|
|
|
};
|
|
|
|
}
|