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-10-17 20:44:39 +02:00
|
|
|
, docbook_xml_dtd_42, docbook_xsl, polkit_qt_1, hspell
|
2010-08-02 19:12:39 +02:00
|
|
|
}:
|
|
|
|
|
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 = [
|
2010-09-09 22:04:50 +02:00
|
|
|
cmake perl xz flex bison bzip2 pcre fam libxml2 libxslt shared_mime_info
|
|
|
|
giflib jasper /*openexr*/ aspell avahi kerberos acl attr libXScrnSaver
|
2010-10-17 20:44:39 +02:00
|
|
|
enchant libdbusmenu_qt polkit_qt_1 automoc4 hspell
|
2010-08-02 19:12:39 +02:00
|
|
|
];
|
|
|
|
|
2010-10-17 20:44:39 +02:00
|
|
|
# TODO: make sonnet plugins (dictionaries) really work.
|
|
|
|
# There are a few hardcoded paths.
|
|
|
|
# Let kdelibs find openexr
|
|
|
|
# Split plugins from libs?
|
|
|
|
|
2010-09-09 22:04:50 +02:00
|
|
|
propagatedBuildInputs = [ qt4 gcc.libc strigi soprano attica qca2
|
|
|
|
shared_desktop_ontologies ];
|
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";
|
2011-02-02 14:54:35 +01:00
|
|
|
kde.name = "kdelibs";
|
2010-08-02 19:12:39 +02:00
|
|
|
};
|
|
|
|
}
|