2010-12-26 16:26:01 +01:00
|
|
|
{ kde, gcc, cmake, 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, strigi, soprano, qca2, attica, enchant, libdbusmenu_qt
|
2010-12-26 18:18:13 +01:00
|
|
|
, docbook_xml_dtd_42, docbook_xsl, polkit_qt_1, hspell, udev, grantlee
|
2010-12-26 16:26:01 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
kde.package {
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake perl xz flex bison bzip2 pcre fam libxml2 libxslt shared_mime_info
|
|
|
|
giflib jasper /*openexr*/ aspell avahi kerberos acl attr libXScrnSaver
|
2010-12-26 18:18:13 +01:00
|
|
|
enchant libdbusmenu_qt polkit_qt_1 automoc4 hspell udev grantlee
|
2010-12-26 16:26:01 +01:00
|
|
|
];
|
|
|
|
|
2010-12-26 18:18:13 +01:00
|
|
|
# TODO:
|
|
|
|
# * make sonnet plugins (dictionaries) really work.
|
|
|
|
# There are a few hardcoded paths.
|
|
|
|
# * Let kdelibs find openexr
|
|
|
|
# * Split plugins from libs?
|
|
|
|
# * herqq: kdelibs tries to include HDeviceProxy which was never released
|
2010-12-26 16:26:01 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ qt4 gcc.libc strigi soprano attica qca2
|
|
|
|
shared_desktop_ontologies ];
|
|
|
|
|
|
|
|
# cmake fails to find acl.h because of C++-style comment
|
|
|
|
# TODO: OpenEXR, hspell
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE libraries";
|
|
|
|
license = "LGPL";
|
2011-02-18 10:02:45 +01:00
|
|
|
homepage = http://www.kde.org;
|
2011-02-13 05:36:41 +01:00
|
|
|
kde.module = "kdelibs";
|
2010-12-26 16:26:01 +01:00
|
|
|
};
|
|
|
|
}
|